From 9ae0c5e5a7375ef58e4dff84eb154be77564d205 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Jan 2009 09:02:21 +0100 Subject: s3:smbd: make static const in mangle_hash2.c really static const const char *foo, means a non-const pointer to a const char. const char * const foo, means a const pointer to a const char. char * const foo, would mean a const pointer to a non-const char. metze --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 390b166f5f..0c449f4ee9 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -94,7 +94,7 @@ uint64_t get_allocation_size(connection_struct *conn, files_struct *fsp, const S static bool samba_private_attr_name(const char *unix_ea_name) { - static const char *prohibited_ea_names[] = { + static const char * const prohibited_ea_names[] = { SAMBA_POSIX_INHERITANCE_EA_NAME, SAMBA_XATTR_DOS_ATTRIB, NULL -- cgit