summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-22 21:28:37 +0000
committerPierre Joye <pajoye@php.net>2010-09-22 21:28:37 +0000
commitf1d2e1453c4120a606dd0012665cefa3ff25d0fd (patch)
tree5d2f8a18aa9aabcc200d40fbcd8502ac864bb620 /TSRM
parentbdaec773b54431a74a0b3a3927c5261ddfde2bc6 (diff)
downloadphp-git-f1d2e1453c4120a606dd0012665cefa3ff25d0fd.tar.gz
- Fix #52908, fix declaration
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h
index 2949f27159..d75e2394a9 100644
--- a/TSRM/tsrm_virtual_cwd.h
+++ b/TSRM/tsrm_virtual_cwd.h
@@ -133,7 +133,7 @@ typedef unsigned short mode_t;
CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat);
# define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0)
# define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1)
-CWD_API int php_sys_readlink(link, target, target_len);
+CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len);
#else
# define php_sys_stat stat
# define php_sys_lstat lstat