cvs: php4 /sapi/cgi php_getopt.h
| From: | Sascha Schumann | Date: | Wed, 21 Feb 2001 07:41:01 +0000 |
| Subject: | cvs: php4 /sapi/cgi php_getopt.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4178@lists.php.net to get a copy of this message | ||
sas Tue Feb 20 23:41:01 2001 EDT
Modified files:
/php4/sapi/cgi php_getopt.h
Log:
There is no need to declare ap_php_(opterr|optopt) with external linkage
as they are not used outside of getopt.c.
PR: #9364
Index: php4/sapi/cgi/php_getopt.h
diff -u php4/sapi/cgi/php_getopt.h:1.2 php4/sapi/cgi/php_getopt.h:1.3
--- php4/sapi/cgi/php_getopt.h:1.2 Thu Feb 10 08:44:58 2000
+++ php4/sapi/cgi/php_getopt.h Tue Feb 20 23:41:01 2001
@@ -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);