diff options
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 2 | ||||
-rw-r--r-- | TSRM/tsrm_virtual_cwd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 10dae8d2f0..422c993586 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -1033,7 +1033,7 @@ CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) * realpath() function. */ #if defined(__osf__) || defined(_AIX) -char *php_realpath_hack(char *src, char *dest) +char *php_realpath_hack(const char *src, char *dest) { char *ret; diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index 33476e5ce3..c8ec3534f8 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -173,7 +173,7 @@ CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC); #endif #if defined(__osf__) || defined(_AIX) -char *php_realpath_hack(char *src, char *dest); +char *php_realpath_hack(const char *src, char *dest); #endif #if HAVE_UTIME |