list.h: Convert INIT_LIST_HEAD macro to inline function.
[paraslash.git] / net.c
diff --git a/net.c b/net.c
index 91200fc..e1951e5 100644 (file)
--- a/net.c
+++ b/net.c
@@ -288,7 +288,7 @@ struct flowopts *flowopt_new(void)
 {
        struct flowopts *new = para_malloc(sizeof(*new));
 
-       INIT_LIST_HEAD(&new->sockopts);
+       init_list_head(&new->sockopts);
        return new;
 }