diff options
author | Zack Weinberg <zackw@panix.com> | 2017-03-31 07:58:07 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2017-04-07 07:47:29 -0400 |
commit | 7f71f9c1d6735e713de193faf03edb37c4bcb563 (patch) | |
tree | 954e0d212d66c562062f4b193d9478aa9e06560d /nptl/tst-rwlock19.c | |
parent | 7784135eb0de2d083bf3460c1386aee1c056e96e (diff) | |
download | glibc-7f71f9c1d6735e713de193faf03edb37c4bcb563.tar glibc-7f71f9c1d6735e713de193faf03edb37c4bcb563.tar.gz glibc-7f71f9c1d6735e713de193faf03edb37c4bcb563.tar.bz2 glibc-7f71f9c1d6735e713de193faf03edb37c4bcb563.zip |
getopt: merge straightforward changes from gnulib
This covers changes with little or no consequences when the code is
used in glibc.
* posix/getopt_int.h: Include getopt.h.
Use impl-namespace names for all arguments to _getopt_internal and
_getopt_internal_r.
Declare __ordering enum outside the struct.
Harmonize comments with gnulib.
* posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
#ifdef TEST block and make unconditional. Do not define NULL.
* posix/getopt.c: Partial merge from gnulib, covering the
initial includes and global declarations, commentary, and
a couple of semantically-neutral code changes.
Diffstat (limited to 'nptl/tst-rwlock19.c')
0 files changed, 0 insertions, 0 deletions