From ce3032cab82fd66ddfd4d55d7cc242aff80be161 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Mar 2006 21:14:41 +0000 Subject: 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) --- source4/script/mkproto.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/script/mkproto.pl') 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; } -- cgit