summaryrefslogtreecommitdiff
path: root/source4/script/mkproto.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-06 21:14:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:20 -0500
commitce3032cab82fd66ddfd4d55d7cc242aff80be161 (patch)
tree7a13b9a20a34ef79c17abc38cc9752149d94a5fc /source4/script/mkproto.pl
parent148403594be03ab0ca8e396ef22cd01ef19921d5 (diff)
downloadsamba-ce3032cab82fd66ddfd4d55d7cc242aff80be161.tar.gz
samba-ce3032cab82fd66ddfd4d55d7cc242aff80be161.tar.bz2
samba-ce3032cab82fd66ddfd4d55d7cc242aff80be161.zip
r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be used
to not export symbols when building shared libraries. Symbols that have to be available to users of the library can be explicitly exported by prepending them with _PUBLIC_ in the C source. (This used to be commit ea9988dfda6df09f1ee8f9aea1dc5b96fff52ee6)
Diffstat (limited to 'source4/script/mkproto.pl')
-rwxr-xr-xsource4/script/mkproto.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/mkproto.pl b/source4/script/mkproto.pl
index 9939fe0bf7..1fca294d97 100755
--- a/source4/script/mkproto.pl
+++ b/source4/script/mkproto.pl
@@ -133,7 +133,7 @@ sub process_file($$$)
next if ($line =~ /^\/|[;]/);
- if ($line =~ s/^_PUBLIC_[\t ]/extern /) {
+ if ($line =~ /^_PUBLIC_[\t ]/) {
$target = $public_file;
$is_public = 1;
}