summaryrefslogtreecommitdiff
path: root/lib/gl_xsublist.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-06-04 20:55:56 +0200
committerBruno Haible <bruno@clisp.org>2021-06-04 20:55:56 +0200
commit1db1ae8d610aa2a11e1812aaec4ada493b4d0911 (patch)
tree53c26e8d3d2f18c3872ec1829463a6e07c03e574 /lib/gl_xsublist.c
parent0f9fb7c2598355f23117a257eae3e594afafc3cb (diff)
downloadgnulib-1db1ae8d610aa2a11e1812aaec4ada493b4d0911.tar.gz
Put GPLv3+ notices in source files where appropriate.
* lib/*.{h,c}: Use GPLv3+ notice whenever the module description says so. * build-aux/pmccabe.css: Likewise.
Diffstat (limited to 'lib/gl_xsublist.c')
-rw-r--r--lib/gl_xsublist.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/gl_xsublist.c b/lib/gl_xsublist.c
index f5a3eee38d..4c37c71c9b 100644
--- a/lib/gl_xsublist.c
+++ b/lib/gl_xsublist.c
@@ -1,3 +1,22 @@
+/* Sequential list data type backed by another list, with out-of-memory
+ checking.
+
+ Copyright (C) 2009-2021 Free Software Foundation, Inc.
+
+ This file 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 file 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 <https://www.gnu.org/licenses/>. */
+
#include <config.h>
+
#define GL_XSUBLIST_INLINE _GL_EXTERN_INLINE
#include "gl_xsublist.h"