summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/list.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-11-07 13:57:33 +0100
committerAurelien Foret <aurelien@archlinux.org>2005-11-07 13:57:33 +0100
commitb2df466ffd87c46a823fc46c3ca0026f6c9a001e (patch)
tree4537a339d94fde1ac621decad1bf55bfaea8cee1 /lib/libalpm/list.h
parent6a2230dce1544418112c85bf46f3669cc7fed7dc (diff)
downloadpacman-b2df466ffd87c46a823fc46c3ca0026f6c9a001e.tar.gz
pacman-b2df466ffd87c46a823fc46c3ca0026f6c9a001e.tar.xz
fixed compilation warnings
Diffstat (limited to 'lib/libalpm/list.h')
-rw-r--r--lib/libalpm/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/list.h b/lib/libalpm/list.h
index e625dbff..1be96c20 100644
--- a/lib/libalpm/list.h
+++ b/lib/libalpm/list.h
@@ -46,7 +46,7 @@ typedef struct __pmlist_t PMList;
/* Sort comparison callback function declaration */
typedef int (*pm_fn_cmp) (const void *, const void *);
-PMList *pm_list_new();
+PMList *pm_list_new(void);
void pm_list_free(PMList *list);
PMList *pm_list_add(PMList *list, void *data);
PMList *pm_list_add_sorted(PMList *list, void *data, pm_fn_cmp fn);