Mercurial > hg > octave-lojdl > gnulib-hg
changeset 5431:1c7efeb240c3
(_getopt_internal, _getopt_internal_r, _getopt_long_r, _getopt_long_only_r):
Use __getopt_argv_count.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 11 Nov 2004 21:16:28 +0000 |
parents | 54760e095396 |
children | a80fa5f0b3e5 |
files | lib/getopt_int.h |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/getopt_int.h +++ b/lib/getopt_int.h @@ -20,7 +20,7 @@ #ifndef _GETOPT_INT_H #define _GETOPT_INT_H 1 -extern int _getopt_internal (int ___argc, char *const *___argv, +extern int _getopt_internal (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only); @@ -110,17 +110,18 @@ default values and to clear the initialization flag. */ #define _GETOPT_DATA_INITIALIZER { 1, 1 } -extern int _getopt_internal_r (int ___argc, char *const *___argv, +extern int _getopt_internal_r (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only, struct _getopt_data *__data); -extern int _getopt_long_r (int ___argc, char *const *___argv, +extern int _getopt_long_r (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, struct _getopt_data *__data); -extern int _getopt_long_only_r (int ___argc, char *const *___argv, +extern int _getopt_long_only_r (int ___argc, + char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind,