From: Sascha Schumann Date: Wed, 21 Feb 2001 07:41:01 +0000 (+0000) Subject: There is no need to declare ap_php_(opterr|optopt) with external linkage X-Git-Tag: php-4.0.5RC1~206 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=328ca1b178eddc3895e3722156c5733598eeafdf;p=php There is no need to declare ap_php_(opterr|optopt) with external linkage as they are not used outside of getopt.c. PR: #9364 --- diff --git a/sapi/cgi/php_getopt.h b/sapi/cgi/php_getopt.h index 3b1356d6cd..40da432b59 100644 --- a/sapi/cgi/php_getopt.h +++ b/sapi/cgi/php_getopt.h @@ -3,7 +3,5 @@ extern char *ap_php_optarg; extern int ap_php_optind; -extern int ap_php_opterr; -extern int ap_php_optopt; int ap_php_getopt(int argc, char* const *argv, const char *optstr);