r13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITY
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Mar 2006 10:30:39 +0000 (10:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:52:24 +0000 (13:52 -0500)
the standard is "hidden" and not "default", I hope this
name makes a bit less confusing

metze

source/build/smb_build/config_mk.pm
source/build/smb_build/input.pm
source/build/smb_build/output.pm

index 1d38bf74f01820cfe32c8392c6f845a4cc9f9696..17bec56ced1eeb4b3b2a0916b840232315c9395c 100644 (file)
@@ -35,7 +35,7 @@ my $section_types = {
                "PUBLIC_HEADERS"        => "list",
 
                "EXTRA_CFLAGS"          => "string",
-               "DEFAULT_VISIBILITY"    => "string"
+               "STANDARD_VISIBILITY"   => "string"
                },
        "MODULE" => {
                "SUBSYSTEM"             => "string",
@@ -94,7 +94,7 @@ my $section_types = {
                "PRIVATE_PROTO_HEADER"  => "string",
 
                "EXTRA_CFLAGS"          => "string",
-               "DEFAULT_VISIBILITY"    => "string"
+               "STANDARD_VISIBILITY"   => "string"
                }
 };
 
index 08fda140c15abbec7f911561473c38f30e827c61..5d6320942cf94697d0b3cb875de0ba34550c2627 100644 (file)
@@ -159,8 +159,8 @@ sub check($$$$$)
                        $part->{NOPROTO} = "YES";
                }
 
-               unless (defined($part->{DEFAULT_VISIBILITY})) {
-                       $part->{DEFAULT_VISIBILITY} = "hidden";
+               unless (defined($part->{STANDARD_VISIBILITY})) {
+                       $part->{STANDARD_VISIBILITY} = "hidden";
                }
 
                unless (defined($part->{EXTRA_CFLAGS})) {
index 59b4b05194497a6a97936f641961a8f3b229a80b..b0872db45753ab7a34664200d3e1b3ad93a7b23b 100644 (file)
@@ -111,9 +111,9 @@ sub create_output($$)
                        $part->{OUTPUT_TYPE} = "OBJLIST";
                }
 
-               if (($part->{DEFAULT_VISIBILITY} ne "hidden") and 
+               if (($part->{STANDARD_VISIBILITY} ne "hidden") and 
                        ($config->{visibility_attribute} eq "yes")) {
-                       $part->{EXTRA_CFLAGS} .= " -fvisibility=$part->{DEFAULT_VISIBILITY}";
+                       $part->{EXTRA_CFLAGS} .= " -fvisibility=$part->{STANDARD_VISIBILITY}";
                }
 
                generate_binary($part) if $part->{OUTPUT_TYPE} eq "BINARY";