Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=fbeefd12e0da3b7787363bf4fcc0f34e82092277

commit fbeefd12e0da3b7787363bf4fcc0f34e82092277
Author: Michel Hermier <herm...@frugalware.org>
Date:   Sun Nov 17 01:00:33 2013 +0100

libpacman: Move __pmlist_t::data position in the structure.

diff --git a/lib/libpacman/util/list.h b/lib/libpacman/util/list.h
index e652fd4..7ea698f 100644
--- a/lib/libpacman/util/list.h
+++ b/lib/libpacman/util/list.h
@@ -34,9 +34,9 @@ typedef void (*FListItemVisitorFunc)(FListItem *item, void 
*visitor_data);

/* Chained list struct */
struct __pmlist_t {
-       void *data;
struct __pmlist_t *prev;
struct __pmlist_t *next;
+       void *data;
struct __pmlist_t *last; /* Quick access to last item in list */
};
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to