Line 0
Link Here
|
|
|
1 |
--- wmgeneral/list.h.orig 1998-11-14 22:36:10 UTC |
2 |
+++ wmgeneral/list.h |
3 |
@@ -40,20 +40,20 @@ typedef struct LinkedList { |
4 |
struct LinkedList *tail; |
5 |
} LinkedList; |
6 |
|
7 |
-INLINE LinkedList* list_cons(void* head, LinkedList* tail); |
8 |
+extern INLINE LinkedList* list_cons(void* head, LinkedList* tail); |
9 |
|
10 |
-INLINE int list_length(LinkedList* list); |
11 |
+extern INLINE int list_length(LinkedList* list); |
12 |
|
13 |
-INLINE void* list_nth(int index, LinkedList* list); |
14 |
+extern INLINE void* list_nth(int index, LinkedList* list); |
15 |
|
16 |
-INLINE void list_remove_head(LinkedList** list); |
17 |
+extern INLINE void list_remove_head(LinkedList** list); |
18 |
|
19 |
-INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem); |
20 |
+extern INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem); |
21 |
|
22 |
-INLINE void list_mapcar(LinkedList* list, void(*function)(void*)); |
23 |
+extern INLINE void list_mapcar(LinkedList* list, void(*function)(void*)); |
24 |
|
25 |
-INLINE LinkedList*list_find(LinkedList* list, void* elem); |
26 |
+extern INLINE LinkedList*list_find(LinkedList* list, void* elem); |
27 |
|
28 |
-INLINE void list_free(LinkedList* list); |
29 |
+extern INLINE void list_free(LinkedList* list); |
30 |
|
31 |
#endif |