index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-07-04 08:38:09 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-05 10:22:05 -0500 |
commit | 97103f860d48e1f6f9c0dd7c75568618f8ed5163 (patch) | |
tree | e1f79f41530c121ae4ee9d49bad379c2008ee2bd /lib/libalpm/alpm_list.c | |
parent | c748eadc80593c3941b55b1d4ec6e46899abd295 (diff) |
-rw-r--r-- | lib/libalpm/alpm_list.c | 16 |
diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c index 1976e13d..38cefa62 100644 --- a/lib/libalpm/alpm_list.c +++ b/lib/libalpm/alpm_list.c @@ -507,22 +507,6 @@ alpm_list_t SYMEXPORT *alpm_list_reverse(alpm_list_t *list) /* Accessors */ /** - * @brief Get the first element of a list. - * - * @param list the list - * - * @return the first element in the list - */ -inline alpm_list_t SYMEXPORT *alpm_list_first(const alpm_list_t *list) -{ - if(list) { - return (alpm_list_t *)list; - } else { - return NULL; - } -} - -/** * @brief Return nth element from list (starting from 0). * * @param list the list |