summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/pidl/parser.pm2
-rw-r--r--source4/librpc/rpc/dcerpc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm
index d094b5e5b5..12dd1918a2 100644
--- a/source4/build/pidl/parser.pm
+++ b/source4/build/pidl/parser.pm
@@ -1326,7 +1326,7 @@ sub FunctionTable($)
my @e = split / /, $if_endpoints;
my $endpoint_count = $#e + 1;
- pidl "static const char *$interface->{NAME}\_endpoint_strings[] = {\n\t";
+ pidl "static const char * const $interface->{NAME}\_endpoint_strings[] = {\n\t";
for (my $i=0; $i < $#e; $i++) {
pidl "\"$e[$i]\", ";
}
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index fdd17fcbb3..c5cf07ddba 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -86,7 +86,7 @@ struct dcerpc_interface_call {
struct dcerpc_endpoint_list {
uint32 count;
- const char **names;
+ const char * const *names;
};
struct dcerpc_interface_table {