summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-01-22 01:29:44 +0000
committerStefan Metzmacher <metze@samba.org>2004-01-22 01:29:44 +0000
commit0831b8b9f526f17ad005c781ea74727b0aae61b1 (patch)
tree8df4585376f210d60800425b80ff4066b8cd196a /source4/build
parentfb15b95bc5fe11e8ebbd4bfe5f29b4e454f3aee4 (diff)
downloadsamba-0831b8b9f526f17ad005c781ea74727b0aae61b1.tar.gz
samba-0831b8b9f526f17ad005c781ea74727b0aae61b1.tar.bz2
samba-0831b8b9f526f17ad005c781ea74727b0aae61b1.zip
make dcerpc_pipes[] completely const.
so it now apears in the text section of 'size librpc/gen_ndr/tables.o' metze (This used to be commit f3b917402aeb9d749abf2df34413e61b71fd5fff)
Diffstat (limited to 'source4/build')
-rwxr-xr-xsource4/build/pidl/tables.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/tables.pl b/source4/build/pidl/tables.pl
index bf1db20e28..5f760d4403 100755
--- a/source4/build/pidl/tables.pl
+++ b/source4/build/pidl/tables.pl
@@ -74,7 +74,7 @@ print TABLEC "
/*
generated by pidl IDL table generator
*/
-const struct dcerpc_interface_table *dcerpc_pipes[] = {
+const struct dcerpc_interface_table * const dcerpc_pipes[] = {
";
print TABLEH "
@@ -82,7 +82,7 @@ print TABLEH "
table headers generated by pidl IDL table generator
*/
-extern const struct dcerpc_interface_table *dcerpc_pipes[];
+extern const struct dcerpc_interface_table * const dcerpc_pipes[];
";