X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=util.c;h=325c2a2b8ab397dfcd7fd360d3abf0d4a3109d7b;hb=f8a6f7154a8d2abd925fc5cc60c6544b838b602c;hp=18f98dc4f17859e5c5724a8d25ed39271ba89e70;hpb=f0adaa78963ffc8b870059d5787079fbbd7c52a5;p=wmpus diff --git a/util.c b/util.c index 18f98dc..325c2a2 100644 --- a/util.c +++ b/util.c @@ -1,9 +1,27 @@ +/* + * Copyright (C) 2011 Andy Spencer + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include #include "util.h" +/* Doubly linked lists */ list_t *list_insert(list_t *next, void *data) { list_t *node = new0(list_t);