1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-02-28 17:31:52 -05:00

fixed compilation warnings

This commit is contained in:
Aurelien Foret 2005-11-07 13:14:19 +00:00
parent bf865c2da5
commit 2ab57b6022
3 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ typedef struct __config_t {
#define FREECONF(p) do { if(p) { config_free(p); p = NULL; } } while(0)
config_t *config_new();
config_t *config_new(void);
int config_free(config_t *config);
int parseconfig(char *file, config_t *config);

View File

@ -31,7 +31,7 @@ typedef struct __list_t {
#define FREELIST(p) do { if(p) { list_free(p); p = NULL; } } while(0)
list_t *list_new();
list_t *list_new(void);
void list_free(list_t* list);
list_t *list_add(list_t* list, void *data);
int list_count(list_t* list);

View File

@ -43,7 +43,7 @@ int parseargs(int argc, char **argv);
void usage(int op, char *myname);
void version();
void version(void);
char *buildstring(list_t *strlist);