index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-10-06 00:55:47 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-12 14:22:49 -0500 |
commit | 6be492d2f71bf0968b836e17a0f59a0e32572b49 (patch) | |
tree | 06072365142251c61f10f5b441ff4bcdd1c2a0d7 /lib/libalpm/alpm_list.c | |
parent | 1b7d2b0cfaaf7e2d376fa2542ed2d0442f3a0764 (diff) |
-rw-r--r-- | lib/libalpm/alpm_list.c | 13 |
diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c index 15286aa1..cad6d096 100644 --- a/lib/libalpm/alpm_list.c +++ b/lib/libalpm/alpm_list.c @@ -576,19 +576,6 @@ alpm_list_t SYMEXPORT *alpm_list_last(const alpm_list_t *list) } } -/** - * @brief Get the data member of a list node. - * - * @param node the list node - * - * @return the contained data, or NULL if none - */ -void SYMEXPORT *alpm_list_getdata(const alpm_list_t *node) -{ - if(node == NULL) return NULL; - return node->data; -} - /* Misc */ /** |