summaryrefslogtreecommitdiff
path: root/posix/bits
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2017-04-05 11:04:35 -0400
committerZack Weinberg <zackw@panix.com>2017-04-07 07:53:37 -0400
commit06576cbf4eae13324985df1a690afa2705c992cc (patch)
treea0c50c5934fc9c873bf3876ccd15e09ab97af440 /posix/bits
parent10a33cf8b403e3c031c5dd10a06b4a2a6489e48c (diff)
downloadglibc-06576cbf4eae13324985df1a690afa2705c992cc.tar.gz
getopt: annotate files with relationship to gnulib.
As the final act in this patchset, adjust the "This file is part of the GNU C Library" message at the top of each file to indicate which files are synced with gnulib. * posix/bits/getopt_core.h, posix/bits/getopt_ext.h * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h: Mention in top-of-file boilerplate that these files are shared with gnulib. * posix/getopt.h, posix/bits/getopt_posix.h: Mention in top-of-file boilerplate that these files are NOT shared with gnulib, unlike the rest of the getopt implementation.
Diffstat (limited to 'posix/bits')
-rw-r--r--posix/bits/getopt_core.h3
-rw-r--r--posix/bits/getopt_ext.h3
-rw-r--r--posix/bits/getopt_posix.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/posix/bits/getopt_core.h b/posix/bits/getopt_core.h
index 1e4dc25d77..1744c29b74 100644
--- a/posix/bits/getopt_core.h
+++ b/posix/bits/getopt_core.h
@@ -1,6 +1,7 @@
/* Declarations for getopt (basic, portable features only).
Copyright (C) 1989-2017 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
+ This file is part of the GNU C Library and is also part of gnulib.
+ Patches to this file should be submitted to both projects.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
diff --git a/posix/bits/getopt_ext.h b/posix/bits/getopt_ext.h
index 2382f88fc1..c1a58da804 100644
--- a/posix/bits/getopt_ext.h
+++ b/posix/bits/getopt_ext.h
@@ -1,6 +1,7 @@
/* Declarations for getopt (GNU extensions).
Copyright (C) 1989-2017 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
+ This file is part of the GNU C Library and is also part of gnulib.
+ Patches to this file should be submitted to both projects.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
diff --git a/posix/bits/getopt_posix.h b/posix/bits/getopt_posix.h
index 9436bb9202..f9f3265a20 100644
--- a/posix/bits/getopt_posix.h
+++ b/posix/bits/getopt_posix.h
@@ -1,6 +1,7 @@
/* Declarations for getopt (POSIX compatibility shim).
Copyright (C) 1989-2017 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
+ Unlike the bulk of the getopt implementation, this file is NOT part
+ of gnulib.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public