diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-01-22 01:12:43 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2004-01-22 01:12:43 +0000 |
commit | fb15b95bc5fe11e8ebbd4bfe5f29b4e454f3aee4 (patch) | |
tree | 98547c399f5f8a2ba5cc4cf41d2d3d9e0dd92eb3 | |
parent | aafd0efc582ae4b857d19cc50a73bad1a67f0f28 (diff) | |
download | samba-fb15b95bc5fe11e8ebbd4bfe5f29b4e454f3aee4.tar.gz samba-fb15b95bc5fe11e8ebbd4bfe5f29b4e454f3aee4.tar.bz2 samba-fb15b95bc5fe11e8ebbd4bfe5f29b4e454f3aee4.zip |
added a little bit of const magic to get rid of the data in librpc/gen_ndr/*.o
(This used to be commit 866ef2edab91996964c8b43dbdd417f5908a00e1)
-rw-r--r-- | source4/build/pidl/parser.pm | 2 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 2 |
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 { |