From f1d2e1453c4120a606dd0012665cefa3ff25d0fd Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 22 Sep 2010 21:28:37 +0000 Subject: - Fix #52908, fix declaration --- TSRM/tsrm_virtual_cwd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TSRM') 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 -- cgit v1.2.1