]> granicus.if.org Git - php/commitdiff
There is no need to declare ap_php_(opterr|optopt) with external linkage
authorSascha Schumann <sas@php.net>
Wed, 21 Feb 2001 07:41:01 +0000 (07:41 +0000)
committerSascha Schumann <sas@php.net>
Wed, 21 Feb 2001 07:41:01 +0000 (07:41 +0000)
as they are not used outside of getopt.c.

PR: #9364

sapi/cgi/php_getopt.h

index 3b1356d6cdd103f3892e5117f48e84d816121f56..40da432b596da6740c1baad4fc46da7564d41c67 100644 (file)
@@ -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);