From: Volker Lendecke Date: Tue, 28 Jan 2025 05:04:39 +0000 (+0100) Subject: lib: Remove a pointer from R/W .data X-Git-Tag: tdb-1.4.13~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b223d5da884eb2f2540b72b3a1c5baec1cf21c77;p=thirdparty%2Fsamba.git lib: Remove a pointer from R/W .data Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/string_replace.c b/source3/lib/string_replace.c index fdf32276a57..50fd83272e1 100644 --- a/source3/lib/string_replace.c +++ b/source3/lib/string_replace.c @@ -183,7 +183,7 @@ int string_replace_allocate(connection_struct *conn, return 0; } -const char *macos_string_replace_map = +const char macos_string_replace_map[] = "0x01:0xf001,0x02:0xf002,0x03:0xf003,0x04:0xf004," "0x05:0xf005,0x06:0xf006,0x07:0xf007,0x08:0xf008," "0x09:0xf009,0x0a:0xf00a,0x0b:0xf00b,0x0c:0xf00c," diff --git a/source3/lib/string_replace.h b/source3/lib/string_replace.h index 671dbf87852..76fe2c7690b 100644 --- a/source3/lib/string_replace.h +++ b/source3/lib/string_replace.h @@ -32,4 +32,4 @@ int string_replace_allocate(connection_struct *conn, char **mapped_name, enum vfs_translate_direction direction); -extern const char *macos_string_replace_map; +extern const char macos_string_replace_map[];