summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-10-04 13:24:19 +0000
committerAntony Dovgal <tony2001@php.net>2006-10-04 13:24:19 +0000
commitbb5986b8a34356862382c56265ed189c38f7f9ec (patch)
treefa16599d23423704588a227f56c42710e2a1041a /TSRM
parent8d2406f44893ac578dda4484331bb03e77d3aa42 (diff)
downloadphp-git-bb5986b8a34356862382c56265ed189c38f7f9ec.tar.gz
MFH
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c2
-rw-r--r--TSRM/tsrm_virtual_cwd.h2
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