summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 92e97d8..3218277 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -191,14 +191,14 @@ APK_ARRAY(apk_string_array, char *);
#define LIST_POISON1 (void *) 0xdeadbeef
#define LIST_POISON2 (void *) 0xabbaabba
-struct hlist_head {
- struct hlist_node *first;
-};
-
struct hlist_node {
struct hlist_node *next;
};
+struct hlist_head {
+ struct hlist_node *first;
+};
+
static inline int hlist_empty(const struct hlist_head *h)
{
return !h->first;