summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-06 12:29:51 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-06 12:29:51 +0000
commit4585060a5a47e77ffb4bffef110b16505921a75d (patch)
treecb84e7a660a69f1ae50b8075a299c7f35812fd24
parent5fc2e009dccc2075ee87210cd1cb3fda57fbc5d6 (diff)
downloadpacman-4585060a5a47e77ffb4bffef110b16505921a75d.tar.xz
code cleanup
-rw-r--r--src/pacman/list.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pacman/list.h b/src/pacman/list.h
index ba72d784..68f080e4 100644
--- a/src/pacman/list.h
+++ b/src/pacman/list.h
@@ -38,11 +38,10 @@ typedef struct __list_t {
FREELIST(p); \
} while(0)
-
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);
+void list_free(list_t *list);
+list_t *list_add(list_t *list, void *data);
+int list_count(list_t *list);
int list_is_strin(char *needle, list_t *haystack);
void list_display(const char *title, list_t *list);