summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-01-22 01:12:43 +0000
committerAndrew Tridgell <tridge@samba.org>2004-01-22 01:12:43 +0000
commitfb15b95bc5fe11e8ebbd4bfe5f29b4e454f3aee4 (patch)
tree98547c399f5f8a2ba5cc4cf41d2d3d9e0dd92eb3 /source4/build/pidl
parentaafd0efc582ae4b857d19cc50a73bad1a67f0f28 (diff)
downloadsamba-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)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/parser.pm2
1 files changed, 1 insertions, 1 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]\", ";
}