summaryrefslogtreecommitdiff
path: root/main/fastcgi.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/fastcgi.h')
-rw-r--r--main/fastcgi.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/fastcgi.h b/main/fastcgi.h
index 95aae11e41..71c8517b11 100644
--- a/main/fastcgi.h
+++ b/main/fastcgi.h
@@ -1,7 +1,5 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 7 |
- +----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
@@ -77,7 +75,7 @@ typedef enum _fcgi_protocol_status {
/* FastCGI client API */
-typedef void (*fcgi_apply_func)(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg);
+typedef void (*fcgi_apply_func)(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg);
#define FCGI_HASH_TABLE_SIZE 128
#define FCGI_HASH_TABLE_MASK (FCGI_HASH_TABLE_SIZE - 1)