alpm_list.c clean-up
commit8cfccf68c1c7fdd45c172d49115e56e04dae2a2c
authorNagy Gabor <ngaba@bibl.u-szeged.hu>
Sat, 23 Feb 2008 21:31:20 +0000 (23 22:31 +0100)
committerChantry Xavier <shiningxc@gmail.com>
Sun, 24 Feb 2008 23:52:58 +0000 (25 00:52 +0100)
tree2b84593fe5858dbf541845849b6191f2f804f991
parent3ad3077d8d5bb0d67652d0045e3e5eaf4eef6ffb
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 <ngaba@bibl.u-szeged.hu>
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
lib/libalpm/alpm_list.c
lib/libalpm/alpm_list.h