summaryrefslogtreecommitdiff
path: root/mkinstalldirs
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-04 11:17:12 +1000
committerDan McGee <dan@archlinux.org>2011-07-05 10:22:11 -0500
commit24324ff0e12a3e19cada669a4c5c391e486790a3 (patch)
treebb211091670af259881bd326d5e034efea7eae26 /mkinstalldirs
parent97103f860d48e1f6f9c0dd7c75568618f8ed5163 (diff)
downloadpacman-24324ff0e12a3e19cada669a4c5c391e486790a3.tar.xz
Simplify alpm_list_previous
We can readily detect the first node in a list by checking if node->prev->next is NULL. So there is no need to pass the head of the list to this function and its prototype now looks like all the other item accessors. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mkinstalldirs')
0 files changed, 0 insertions, 0 deletions