summaryrefslogtreecommitdiff
path: root/lib/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/list.c')
-rw-r--r--lib/list.c35
1 files changed, 18 insertions, 17 deletions
diff --git a/lib/list.c b/lib/list.c
index 8dcca72..508fb35 100644
--- a/lib/list.c
+++ b/lib/list.c
@@ -1,20 +1,21 @@
-/* list.c: simple list (represented as arrays) manipulation.
+# list.c: simple list (represented as arrays) manipulation.
+#
+# Copyright (C) 1992 Free Software Foundation, Inc.
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
-Copyright (C) 1992 Free Software Foundation, Inc.
-
-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 2, 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, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h"
@@ -48,7 +49,7 @@ list_free (list_type *list)
free (LIST_DATA (*list));
}
}
-
+
/* The list consists entirely of pointers to objects. We allocate the
space for the objects pointed to here, though, and return a pointer to
the newly-created final element in the list. */