From 8cfccf68c1c7fdd45c172d49115e56e04dae2a2c Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Sat, 23 Feb 2008 22:31:20 +0100 Subject: alpm_list.c clean-up * Introduces 'list == NULL' convention for empty list. That means alpm_list_new isn't needed anymore, so kill it * Small straightforward fixes in alpm_list.c Signed-off-by: Nagy Gabor Signed-off-by: Chantry Xavier --- lib/libalpm/alpm_list.h | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/libalpm/alpm_list.h') diff --git a/lib/libalpm/alpm_list.h b/lib/libalpm/alpm_list.h index 057b6b5c..b3846ba0 100644 --- a/lib/libalpm/alpm_list.h +++ b/lib/libalpm/alpm_list.h @@ -47,7 +47,6 @@ typedef void (*alpm_list_fn_free)(void *); /* item deallocation callback */ typedef int (*alpm_list_fn_cmp)(const void *, const void *); /* item comparison callback */ /* allocation */ -alpm_list_t *alpm_list_new(void); void alpm_list_free(alpm_list_t *list); void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); -- cgit v1.2.3-24-g4f1b