diff options
author | Christian A. Weber <chris@gna.ch> | 2020-06-22 17:21:48 +0000 |
---|---|---|
committer | Christian A. Weber <chris@gna.ch> | 2020-06-22 17:21:48 +0000 |
commit | 8f2111ae0b373fd7bda9184fed2ce08b0ab43a81 (patch) | |
tree | 747adff6855e2edcf88dc1e3e225c2cce41de415 | |
parent | 277cd4a8bad85d78f2b0d187f840a6f8dbef30df (diff) | |
download | bobi-8f2111ae0b373fd7bda9184fed2ce08b0ab43a81.tar.gz bobi-8f2111ae0b373fd7bda9184fed2ce08b0ab43a81.tar.bz2 bobi-8f2111ae0b373fd7bda9184fed2ce08b0ab43a81.zip |
add MIN() and MAX() macros
-rw-r--r-- | Bobi.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -14,6 +14,9 @@ #include <stdio.h> #include <string.h> +#define MIN(a,b) ((a)<(b)?(a):(b)) +#define MAX(a,b) ((a)>(b)?(a):(b)) + #define ClearMem(buf,len) memset(buf, 0, len) @@ -225,7 +228,7 @@ void LoadConfigFile(char *); /***** Misc.c: *****/ -void ShowMonoReq2(char *); +void ShowMonoReq2(char *,...); BOOL ShowRequest2(char *,char *); void ShowFileError(char *); BPTR OpenNewFileSafely(char *); |