move list library into src/common
authorHannes Gredler <hannes@gredler.at>
Wed, 16 Apr 2008 07:59:29 +0000 (09:59 +0200)
committerHannes Gredler <hannes@gredler.at>
Wed, 16 Apr 2008 07:59:29 +0000 (09:59 +0200)
src/common/list.c [moved from src/lq_list.c with 99% similarity]
src/common/list.h [moved from src/lq_list.h with 98% similarity]

similarity index 99%
rename from src/lq_list.c
rename to src/common/list.c
index 9607305..e8f54a1 100644 (file)
@@ -40,7 +40,7 @@
  */
 
 #include <stdlib.h>
-#include "lq_list.h"
+#include "common/list.h"
 
 /* init a circular list  */
 void list_head_init(struct list_node *node)
similarity index 98%
rename from src/lq_list.h
rename to src/common/list.h
index d048eb5..35a9a8d 100644 (file)
@@ -39,8 +39,8 @@
  *
  */
 
-#ifndef _LQ_LIST_H
-#define _LQ_LIST_H
+#ifndef _LIST_H
+#define _LIST_H
 
 #include "stddef.h"
 
@@ -74,5 +74,4 @@ static inline structname * funcname (struct list_node *ptr)\
       NULL); \
 }
 
-#endif
-
+#endif /* _LQ_LIST */