projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release notes for 1.0.2
[tinc]
/
lib
/
list.c
diff --git
a/lib/list.c
b/lib/list.c
index
0b516c8
..
98a3019
100644
(file)
--- a/
lib/list.c
+++ b/
lib/list.c
@@
-17,17
+17,13
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: list.c,v 1.1.2.1
5 2003/07/12 17:48:38
guus Exp $
+ $Id: list.c,v 1.1.2.1
7 2003/08/28 21:05:09
guus Exp $
*/
*/
-#include "config.h"
-
-#include <stdlib.h>
-
-#include <xalloc.h>
-#include <system.h>
+#include "system.h"
#include "list.h"
#include "list.h"
+#include "xalloc.h"
/* (De)constructors */
/* (De)constructors */
@@
-48,7
+44,7
@@
void list_free(list_t *list)
list_node_t *list_alloc_node(void)
{
list_node_t *list_alloc_node(void)
{
- return
(list_node_t *)
xmalloc_and_zero(sizeof(list_node_t));
+ return xmalloc_and_zero(sizeof(list_node_t));
}
void list_free_node(list_t *list, list_node_t *node)
}
void list_free_node(list_t *list, list_node_t *node)