summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-11-17 19:48:35 +0000
committerrwatson <rwatson@FreeBSD.org>2003-11-17 19:48:35 +0000
commit36df19adf8a2294862330e8bc5b5786da4502f1a (patch)
tree8537792c63bd6b46c4c3775d61d2ca8061a4f7df /lib
parentb60bc6ed206a0508741ee5ab94aa780a97c8d1ba (diff)
downloadFreeBSD-src-36df19adf8a2294862330e8bc5b5786da4502f1a.zip
FreeBSD-src-36df19adf8a2294862330e8bc5b5786da4502f1a.tar.gz
Staticize label_default_head to prevent it from leaking out of mac.c.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/posix1e/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/mac.c b/lib/libc/posix1e/mac.c
index 38cc094..9d29438 100644
--- a/lib/libc/posix1e/mac.c
+++ b/lib/libc/posix1e/mac.c
@@ -55,7 +55,7 @@ static int internal_initialized;
*
* XXXMAC: Not thread-safe.
*/
-LIST_HEAD(, label_default) label_default_head;
+static LIST_HEAD(, label_default) label_default_head;
struct label_default {
char *ld_name;
char *ld_labels;
OpenPOWER on IntegriCloud