X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=abook.h;h=1c1e29d6a0b217e90df5b17815a556a24c3a0156;hb=7b4ce3288538a5f29c2293f43b177df86b44284c;hp=20bad884ebc49c8b8969037475abec016cb9921f;hpb=e0d3bd38567657774a95ac4beaceb8a067ceef4d;p=pkg%2Fabook.git diff --git a/abook.h b/abook.h index 20bad88..1c1e29d 100644 --- a/abook.h +++ b/abook.h @@ -3,8 +3,6 @@ #include -void *abook_malloc(size_t size); -void *abook_realloc(void *ptr, size_t size); FILE *abook_fopen (const char *path, const char *mode); void quit_abook(int save_db); void launch_wwwbrowser(int item); @@ -19,8 +17,8 @@ int strncasecmp (const char *, const char *, size_t); #define Y_STATUSLINE (LINES - 2) -#define MIN_LINES 20 -#define MIN_COLS 70 +#define MIN_LINES 20 +#define MIN_COLS 70 #define DEFAULT_UMASK 066 #define DIR_IN_HOME ".abook" @@ -39,7 +37,6 @@ int strncasecmp (const char *, const char *, size_t); #define show_cursor() curs_set(1) #define safe_atoi(X) ((X == NULL) ? 0 : atoi(X)) -#define my_free(X) do {free(X); X=NULL;} while(0) #define safe_str(X) ((X == NULL) ? "" : X) #define safe_strdup(X) ((X == NULL) ? NULL : strdup(X))