summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-08 09:02:21 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-08 12:22:19 +0100
commit9ae0c5e5a7375ef58e4dff84eb154be77564d205 (patch)
tree70103e8933b8afab09f09c1d8022810f80ee748a
parentc19ed7669c3621142fd3634634f58bdb9920ddaf (diff)
downloadsamba-9ae0c5e5a7375ef58e4dff84eb154be77564d205.tar.gz
samba-9ae0c5e5a7375ef58e4dff84eb154be77564d205.tar.bz2
samba-9ae0c5e5a7375ef58e4dff84eb154be77564d205.zip
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
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
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