aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/getopt-cdefs.h2
-rw-r--r--lib/getopt-core.h2
-rw-r--r--lib/getopt-ext.h2
-rw-r--r--lib/getopt-pfx-core.h2
-rw-r--r--lib/getopt-pfx-ext.h2
-rw-r--r--lib/getopt.c2
-rw-r--r--lib/getopt.in.h2
-rw-r--r--lib/getopt1.c2
-rw-r--r--lib/getopt_int.h2
10 files changed, 20 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index b6a3b161..3309e228 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+
##
## Copyright (C) 2004-2007 Free Software Foundation, Inc.
##
diff --git a/lib/getopt-cdefs.h b/lib/getopt-cdefs.h
index 021bdd36..576428c1 100644
--- a/lib/getopt-cdefs.h
+++ b/lib/getopt-cdefs.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* getopt-on-non-glibc compatibility macros.
Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of gnulib.
diff --git a/lib/getopt-core.h b/lib/getopt-core.h
index c5dd4936..126ce808 100644
--- a/lib/getopt-core.h
+++ b/lib/getopt-core.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* Declarations for getopt (basic, portable features only).
Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library and is also part of gnulib.
diff --git a/lib/getopt-ext.h b/lib/getopt-ext.h
index d37c2932..006037ba 100644
--- a/lib/getopt-ext.h
+++ b/lib/getopt-ext.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* Declarations for getopt (GNU extensions).
Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library and is also part of gnulib.
diff --git a/lib/getopt-pfx-core.h b/lib/getopt-pfx-core.h
index 095e3930..ee22d3f7 100644
--- a/lib/getopt-pfx-core.h
+++ b/lib/getopt-pfx-core.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* getopt (basic, portable features) gnulib wrapper header.
Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of gnulib.
diff --git a/lib/getopt-pfx-ext.h b/lib/getopt-pfx-ext.h
index 8578d725..00d2a095 100644
--- a/lib/getopt-pfx-ext.h
+++ b/lib/getopt-pfx-ext.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* getopt (GNU extensions) gnulib wrapper header.
Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of gnulib.
diff --git a/lib/getopt.c b/lib/getopt.c
index 5941f6fd..ab3ff879 100644
--- a/lib/getopt.c
+++ b/lib/getopt.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* Getopt for GNU.
Copyright (C) 1987-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library and is also part of gnulib.
diff --git a/lib/getopt.in.h b/lib/getopt.in.h
index 79941d44..6d602c5d 100644
--- a/lib/getopt.in.h
+++ b/lib/getopt.in.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* Declarations for getopt.
Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of gnulib.
diff --git a/lib/getopt1.c b/lib/getopt1.c
index fb99b4a0..5cb3b913 100644
--- a/lib/getopt1.c
+++ b/lib/getopt1.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* getopt_long and getopt_long_only entry points for GNU getopt.
Copyright (C) 1987-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library and is also part of gnulib.
diff --git a/lib/getopt_int.h b/lib/getopt_int.h
index 4d9e24be..2dcb5538 100644
--- a/lib/getopt_int.h
+++ b/lib/getopt_int.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
/* Internal declarations for getopt.
Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library and is also part of gnulib.