diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 13:42:05 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-05 23:56:07 +0200 |
commit | e131c94ac1b06cc49b1c25717d3496dba8b0b3df (patch) | |
tree | b5aea6c90a1d73c3688591a54d3a92773c95a4e7 /source3/include | |
parent | 38492b16fee29f31b324ec459069470e977a2359 (diff) | |
download | samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.tar.gz samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.tar.bz2 samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.zip |
More const fixes for compiler warnings from the waf build.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/libsmb_internal.h | 2 | ||||
-rw-r--r-- | source3/include/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h index 61dc95e0ad..7f16ab6859 100644 --- a/source3/include/libsmb_internal.h +++ b/source3/include/libsmb_internal.h @@ -366,7 +366,7 @@ SMBC_close_ctx(SMBCCTX *context, bool SMBC_getatr(SMBCCTX * context, SMBCSRV *srv, - char *path, + const char *path, uint16 *mode, SMB_OFF_T *size, struct timespec *create_time_ts, diff --git a/source3/include/proto.h b/source3/include/proto.h index 2305a7ac68..60a34d1164 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -649,7 +649,7 @@ void smb_panic_s3(const char *why); void log_stack_trace(void); const char *readdirname(SMB_STRUCT_DIR *p); bool is_in_path(const char *name, name_compare_entry *namelist, bool case_sensitive); -void set_namearray(name_compare_entry **ppname_array, const char *namelist); +void set_namearray(name_compare_entry **ppname_array, char *namelist); void free_namearray(name_compare_entry *name_array); bool fcntl_lock(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type); bool fcntl_getlock(int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid); |