diff options
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 97d8973873..15bb41eb06 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -182,7 +182,7 @@ char *get_numlist(char *p, uint32 **num, int *count) Check if a file exists - call vfs_file_exist for samba files. ********************************************************************/ -BOOL file_exist(char *fname,SMB_STRUCT_STAT *sbuf) +BOOL file_exist(const char *fname,SMB_STRUCT_STAT *sbuf) { SMB_STRUCT_STAT st; if (!sbuf) @@ -198,7 +198,7 @@ BOOL file_exist(char *fname,SMB_STRUCT_STAT *sbuf) Check a files mod time. ********************************************************************/ -time_t file_modtime(char *fname) +time_t file_modtime(const char *fname) { SMB_STRUCT_STAT st; |