diff options
author | Jani Taskinen <jani@php.net> | 2007-07-21 01:43:33 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2007-07-21 01:43:33 +0000 |
commit | d271071067688898b47236d18b4188264b6f2292 (patch) | |
tree | 890a800c2e870d84be482a0f42a3549c953ece15 /main/safe_mode.c | |
parent | a22a6711ade0d4dd0bda2f7b0572e76cc2608022 (diff) | |
download | php-git-d271071067688898b47236d18b4188264b6f2292.tar.gz |
MFH: Fixed compile warnings
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r-- | main/safe_mode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c index 3bbcaae7d8..6dc5640425 100644 --- a/main/safe_mode.c +++ b/main/safe_mode.c @@ -188,7 +188,8 @@ PHPAPI int php_checkuid_ex(const char *filename, const char *fopen_mode, int mod return 0; } -PHPAPI int php_checkuid(const char *filename, const char *fopen_mode, int mode) { +PHPAPI int php_checkuid(const char *filename, const char *fopen_mode, int mode) +{ #ifdef NETWARE /* NetWare don't have uid*/ return 1; @@ -197,7 +198,7 @@ PHPAPI int php_checkuid(const char *filename, const char *fopen_mode, int mode) #endif } -PHPAPI char *php_get_current_user() +PHPAPI char *php_get_current_user(void) { struct stat *pstat; TSRMLS_FETCH(); |