diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-11-07 14:14:19 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-11-07 14:14:19 +0100 |
commit | 2ab57b6022d5907e1e9de68e7314a5f8bc95144a (patch) | |
tree | fbb29291abf2fe4048e26a35755b5315aa439f5b /src/pacman | |
parent | bf865c2da588591dad2c6973875024015d75fc88 (diff) | |
download | pacman-2ab57b6022d5907e1e9de68e7314a5f8bc95144a.tar.gz pacman-2ab57b6022d5907e1e9de68e7314a5f8bc95144a.tar.xz |
fixed compilation warnings
Diffstat (limited to 'src/pacman')
-rw-r--r-- | src/pacman/conf.h | 2 | ||||
-rw-r--r-- | src/pacman/list.h | 2 | ||||
-rw-r--r-- | src/pacman/pacman.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 7dd3ed4e..678c0062 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -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); diff --git a/src/pacman/list.h b/src/pacman/list.h index 13ad034a..86ebdff9 100644 --- a/src/pacman/list.h +++ b/src/pacman/list.h @@ -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); diff --git a/src/pacman/pacman.h b/src/pacman/pacman.h index 3a8775f6..61228729 100644 --- a/src/pacman/pacman.h +++ b/src/pacman/pacman.h @@ -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); |