aboutsummaryrefslogtreecommitdiff
path: root/posix/getopt.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-08 12:02:25 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-08 12:02:25 +0000
commit5c9403426275d25d3482f477e79d6f00699503c3 (patch)
tree325a635d94bafa560cb4f20937b2c33a3de1de68 /posix/getopt.h
parent05f732b361988d0df967c78f151ae43d4c208be0 (diff)
downloadglibc-5c9403426275d25d3482f477e79d6f00699503c3.tar
glibc-5c9403426275d25d3482f477e79d6f00699503c3.tar.gz
glibc-5c9403426275d25d3482f477e79d6f00699503c3.tar.bz2
glibc-5c9403426275d25d3482f477e79d6f00699503c3.zip
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>
Diffstat (limited to 'posix/getopt.h')
-rw-r--r--posix/getopt.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/posix/getopt.h b/posix/getopt.h
index ffb550b449..b0147e9d2a 100644
--- a/posix/getopt.h
+++ b/posix/getopt.h
@@ -131,23 +131,23 @@ struct option
/* Many other libraries have conflicting prototypes for getopt, with
differences in the consts, in stdlib.h. To avoid compilation
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__ */
extern int getopt ();
# endif /* __GNU_LIBRARY__ */
# ifndef __need_getopt
-extern int getopt_long (int argc, char *const *argv, const char *shortopts,
- const struct option *longopts, int *longind);
-extern int getopt_long_only (int argc, char *const *argv,
- const char *shortopts,
- const struct option *longopts, int *longind);
+extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts,
+ const struct option *__longopts, int *__longind);
+extern int getopt_long_only (int __argc, char *const *__argv,
+ const char *__shortopts,
+ const struct option *__longopts, int *__longind);
/* Internal only. Users should not call this directly. */
-extern int _getopt_internal (int argc, char *const *argv,
- const char *shortopts,
- const struct option *longopts, int *longind,
- int long_only);
+extern int _getopt_internal (int __argc, char *const *__argv,
+ const char *__shortopts,
+ const struct option *__longopts, int *__longind,
+ int __long_only);
# endif
#else /* not __STDC__ */
extern int getopt ();