diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-02-08 21:06:11 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-08 21:06:11 +0100 |
commit | fdfbd47d92aedbe382a2975851e8cd628040bba7 (patch) | |
tree | 61f8e2e24d947075ea50dd4915e827c858775c92 /bits | |
parent | 11eb21c4659ae0bde83bcd070bc9a0f94fb3576b (diff) | |
download | glibc-fdfbd47d92aedbe382a2975851e8cd628040bba7.tar glibc-fdfbd47d92aedbe382a2975851e8cd628040bba7.tar.gz glibc-fdfbd47d92aedbe382a2975851e8cd628040bba7.tar.bz2 glibc-fdfbd47d92aedbe382a2975851e8cd628040bba7.zip |
Move generic <bits/unistd_ext.h> to a more regular location
No functional change; the previous path worked as well, but it
re-added the obsolete sysdeps/generic/bits directory, which was
removed (for the first time) in commit
c72565e5f1124c2dc72573e83406fe999e56091f.
Fixes commit e47d82c99a6db060419b421768aced76bea92997 ("Provide
<bits/unistd_ext.h> as a sysdeps header exclusively").
Diffstat (limited to 'bits')
-rw-r--r-- | bits/unistd_ext.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bits/unistd_ext.h b/bits/unistd_ext.h new file mode 100644 index 0000000000..d6e88f3bd4 --- /dev/null +++ b/bits/unistd_ext.h @@ -0,0 +1,21 @@ +/* System-specific extensions of <unistd.h>, generic version. + Copyright (C) 2019 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C 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.1 of the License, or (at your option) any later version. + + The GNU C 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 the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + +#ifndef _UNISTD_H +# error "Never include <bits/unistd_ext.h> directly; use <unistd.h> instead." +#endif |