From 3881e39238741515913bd14635acb289e4a590d8 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 6 May 2007 15:54:47 +0000 Subject: Add licenses --- ckcapi-util.c | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) (limited to 'ckcapi-util.c') diff --git a/ckcapi-util.c b/ckcapi-util.c index 7fd1d1d..fbffe7c 100644 --- a/ckcapi-util.c +++ b/ckcapi-util.c @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2007 Nate Nielsen + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ #include "ckcapi-util.h" @@ -5,6 +23,30 @@ #include #include +/* + * Array code originially from Glib. + * Modified extensively by Nate Nielsen + */ + +/* GLIB - Library of useful routines for C programming + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + #define MIN_ARRAY_SIZE 16 @@ -168,7 +210,7 @@ ckcapi_array_remove_range(CkCapiArray* parray, unsigned int index, size_t length /* * Originally from apache 2.0 - * Modifications for general use by + * Extensive modifications by */ /* Copyright 2000-2004 The Apache Software Foundation -- cgit v1.2.3