summaryrefslogtreecommitdiff
path: root/main/php_getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_getopt.h')
-rw-r--r--main/php_getopt.h2
1 files changed, 1 insertions, 1 deletions
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()