From 00afa7278bd2b5cafa757e89a6b104c28195c3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Schl=C3=BCter?= Date: Tue, 19 Jan 2010 10:44:36 +0000 Subject: - Add extern declarations for fixing the build with some compilers --- main/php_getopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_getopt.h') diff --git a/main/php_getopt.h b/main/php_getopt.h index 043ea85295..6b08fd54dc 100644 --- a/main/php_getopt.h +++ b/main/php_getopt.h @@ -41,7 +41,7 @@ typedef struct _opt_struct { BEGIN_EXTERN_C() /* holds the index of the latest fetched element from the opts array */ -PHPAPI int php_optidx; +extern PHPAPI int php_optidx; PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *optind, int show_err, int arg_start); END_EXTERN_C() -- cgit v1.2.1