diff options
author | notsecure <notsecure@marek.ca> | 2014-05-20 07:08:03 -0400 |
---|---|---|
committer | notsecure <notsecure@marek.ca> | 2014-05-20 07:08:03 -0400 |
commit | b034be4162ac232992d625413369d6305c2a5dd7 (patch) | |
tree | bd035716f08d3c5b57cd0c338e3be66fe2cac5cd /toxcore/list.h | |
parent | 35ae6cb90eb8e79d11ba5000337413d99da6b9f9 (diff) |
use LIST in TCP_server
Diffstat (limited to 'toxcore/list.h')
-rw-r--r-- | toxcore/list.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/list.h b/toxcore/list.h index d28a767f..299c010d 100644 --- a/toxcore/list.h +++ b/toxcore/list.h | |||
@@ -23,6 +23,9 @@ | |||
23 | * | 23 | * |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #ifndef LIST_H | ||
27 | #define LIST_H | ||
28 | |||
26 | #include <stdlib.h> | 29 | #include <stdlib.h> |
27 | #include <stdint.h> | 30 | #include <stdint.h> |
28 | #include <string.h> | 31 | #include <string.h> |
@@ -63,3 +66,5 @@ int list_add(LIST *list, void *data, int id); | |||
63 | * 0 : failure (element not found or id does not match | 66 | * 0 : failure (element not found or id does not match |
64 | */ | 67 | */ |
65 | int list_remove(LIST *list, void *data, int id); | 68 | int list_remove(LIST *list, void *data, int id); |
69 | |||
70 | #endif | ||