From 9822da27b9552c528b6f026e9d495e22d533d7fd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 11 Nov 2004 21:16:28 +0000 Subject: [PATCH] (_getopt_internal, _getopt_internal_r, _getopt_long_r, _getopt_long_only_r): Use __getopt_argv_count. --- lib/getopt_int.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/getopt_int.h b/lib/getopt_int.h index 0c5eddeca9..158a53a091 100644 --- 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 @@ struct _getopt_data 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, -- 2.30.2