mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
1998-10-28 H.J. Lu <hjl@gnu.org> * posix/getopt.h: Add "__" to arguments in prototypes. 1998-11-05 H.J. Lu <hjl@gnu.org> 1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
This commit is contained in:
parent
05f732b361
commit
5c94034262
@ -1,4 +1,8 @@
|
|||||||
1998-11-05 1998 H.J. Lu <hjl@gnu.org>
|
1998-10-28 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* posix/getopt.h: Add "__" to arguments in prototypes.
|
||||||
|
|
||||||
|
1998-11-05 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* libio/iofgets.c (_IO_fgets): Don't report error
|
* libio/iofgets.c (_IO_fgets): Don't report error
|
||||||
if something was read in and errno is set to
|
if something was read in and errno is set to
|
||||||
@ -11,7 +15,7 @@
|
|||||||
header; it defines too much. Provide a local definition of struct
|
header; it defines too much. Provide a local definition of struct
|
||||||
sockaddr_pkt and a comment advising against its use.
|
sockaddr_pkt and a comment advising against its use.
|
||||||
|
|
||||||
1998-11-06 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
||||||
|
|
||||||
* extra-lib.mk: Avoid empty include list.
|
* extra-lib.mk: Avoid empty include list.
|
||||||
|
|
||||||
|
@ -131,23 +131,23 @@ struct option
|
|||||||
/* Many other libraries have conflicting prototypes for getopt, with
|
/* Many other libraries have conflicting prototypes for getopt, with
|
||||||
differences in the consts, in stdlib.h. To avoid compilation
|
differences in the consts, in stdlib.h. To avoid compilation
|
||||||
errors, only prototype getopt for the GNU C library. */
|
errors, only prototype getopt for the GNU C library. */
|
||||||
extern int getopt (int argc, char *const *argv, const char *shortopts);
|
extern int getopt (int __argc, char *const *__argv, const char *__shortopts);
|
||||||
# else /* not __GNU_LIBRARY__ */
|
# else /* not __GNU_LIBRARY__ */
|
||||||
extern int getopt ();
|
extern int getopt ();
|
||||||
# endif /* __GNU_LIBRARY__ */
|
# endif /* __GNU_LIBRARY__ */
|
||||||
|
|
||||||
# ifndef __need_getopt
|
# ifndef __need_getopt
|
||||||
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
|
extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts,
|
||||||
const struct option *longopts, int *longind);
|
const struct option *__longopts, int *__longind);
|
||||||
extern int getopt_long_only (int argc, char *const *argv,
|
extern int getopt_long_only (int __argc, char *const *__argv,
|
||||||
const char *shortopts,
|
const char *__shortopts,
|
||||||
const struct option *longopts, int *longind);
|
const struct option *__longopts, int *__longind);
|
||||||
|
|
||||||
/* Internal only. Users should not call this directly. */
|
/* Internal only. Users should not call this directly. */
|
||||||
extern int _getopt_internal (int argc, char *const *argv,
|
extern int _getopt_internal (int __argc, char *const *__argv,
|
||||||
const char *shortopts,
|
const char *__shortopts,
|
||||||
const struct option *longopts, int *longind,
|
const struct option *__longopts, int *__longind,
|
||||||
int long_only);
|
int __long_only);
|
||||||
# endif
|
# endif
|
||||||
#else /* not __STDC__ */
|
#else /* not __STDC__ */
|
||||||
extern int getopt ();
|
extern int getopt ();
|
||||||
|
Loading…
Reference in New Issue
Block a user