diff options
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -301,7 +301,11 @@ void print_supported_wiki(void); /* helpers.c */ uint32_t address_to_bits(uint32_t addr); -int bitcount(unsigned long a); +unsigned int bitcount(unsigned long a); +#undef MIN +#define MIN(a, b) ((a) < (b) ? (a) : (b)) +#undef MAX +#define MAX(a, b) ((a) > (b) ? (a) : (b)) int max(int a, int b); int min(int a, int b); char *strcat_realloc(char *dest, const char *src); |