X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Flist.c;h=c554d1f43f9fcb11152f263a62030a9b91f62621;hp=2c08978a99015b5406d15aa722adaf7540fa0a81;hb=df3220a1549f992cbf4a9b6e67c1e67b69896c7d;hpb=013a2e159e42c46808ea8d0b6abd57525db30a50 diff --git a/lib/list.c b/lib/list.c index 2c08978a..c554d1f4 100644 --- a/lib/list.c +++ b/lib/list.c @@ -1,7 +1,7 @@ /* list.c -- functions to deal with double linked lists - Copyright (C) 2000-2003 Ivo Timmermans - 2000-2003 Guus Sliepen + Copyright (C) 2000-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ 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.3 2003/08/24 20:38:20 guus Exp $ + $Id$ */ #include "system.h" @@ -44,7 +44,7 @@ void list_free(list_t *list) 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)