From fb15b95bc5fe11e8ebbd4bfe5f29b4e454f3aee4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 22 Jan 2004 01:12:43 +0000 Subject: added a little bit of const magic to get rid of the data in librpc/gen_ndr/*.o (This used to be commit 866ef2edab91996964c8b43dbdd417f5908a00e1) --- source4/build/pidl/parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build/pidl') 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]\", "; } -- cgit