diff options
| author | Nuno Lopes <nlopess@php.net> | 2006-07-01 11:35:34 +0000 |
|---|---|---|
| committer | Nuno Lopes <nlopess@php.net> | 2006-07-01 11:35:34 +0000 |
| commit | 7961207d6bc39ece1401f3615ee0375766cc9f06 (patch) | |
| tree | 2fff714497a9063aa2c1fda0961383ea6a758c5a /main/safe_mode.c | |
| parent | 6910275d5169a8939742a4d6103350a01e35c967 (diff) | |
| download | php-git-7961207d6bc39ece1401f3615ee0375766cc9f06.tar.gz | |
add const keywords
Diffstat (limited to 'main/safe_mode.c')
| -rw-r--r-- | main/safe_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c index 3103b7ace4..3753e90ffb 100644 --- a/main/safe_mode.c +++ b/main/safe_mode.c @@ -45,7 +45,7 @@ * 5 - only check file */ -PHPAPI int php_checkuid_ex(const char *filename, char *fopen_mode, int mode, int flags) +PHPAPI int php_checkuid_ex(const char *filename, const char *fopen_mode, int mode, int flags) { struct stat sb; int ret, nofile=0; @@ -186,7 +186,7 @@ PHPAPI int php_checkuid_ex(const char *filename, char *fopen_mode, int mode, int return 0; } -PHPAPI int php_checkuid(const char *filename, 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; |
