summaryrefslogtreecommitdiff
path: root/sapi/cgi/php_getopt.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-02-21 07:41:01 +0000
committerSascha Schumann <sas@php.net>2001-02-21 07:41:01 +0000
commit328ca1b178eddc3895e3722156c5733598eeafdf (patch)
treedcef0f70771c28e9efb180ff0e9958e29d4db566 /sapi/cgi/php_getopt.h
parent0656a47f3e2964a7c5bc51bd93cfc1ea9ba68b42 (diff)
downloadphp-git-328ca1b178eddc3895e3722156c5733598eeafdf.tar.gz
There is no need to declare ap_php_(opterr|optopt) with external linkage
as they are not used outside of getopt.c. PR: #9364
Diffstat (limited to 'sapi/cgi/php_getopt.h')
-rw-r--r--sapi/cgi/php_getopt.h2
1 files changed, 0 insertions, 2 deletions
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);