]> granicus.if.org Git - php/commitdiff
minor AIX fix
authorAntony Dovgal <tony2001@php.net>
Wed, 4 Oct 2006 13:24:06 +0000 (13:24 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 4 Oct 2006 13:24:06 +0000 (13:24 +0000)
TSRM/tsrm_virtual_cwd.c
TSRM/tsrm_virtual_cwd.h

index 10dae8d2f03b4dbd5cb893f7a0ab834ba47f14a8..422c993586bb57b3557fc8368808aa3c1076e813 100644 (file)
@@ -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;
 
index 3f4afc1275e0d89cf8cc09538d90e5279446355a..f51677e8dcdbfda46672c293ad364bc19c4ca918 100644 (file)
@@ -190,7 +190,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