Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/locale Undo the __dso_protected hackery.



details:   https://anonhg.NetBSD.org/src/rev/f800350f045f
branches:  trunk
changeset: 343978:f800350f045f
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 08 04:00:11 2016 +0000

description:
Undo the __dso_protected hackery.

diffstat:

 lib/libc/locale/global_locale.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d9f282881ff0 -r f800350f045f lib/libc/locale/global_locale.c
--- a/lib/libc/locale/global_locale.c   Tue Mar 08 03:58:31 2016 +0000
+++ b/lib/libc/locale/global_locale.c   Tue Mar 08 04:00:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: global_locale.c,v 1.22 2016/01/29 15:18:08 christos Exp $ */
+/* $NetBSD: global_locale.c,v 1.23 2016/03/08 04:00:11 christos Exp $ */
 
 /*-
  * Copyright (c)2008 Citrus Project,
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: global_locale.c,v 1.22 2016/01/29 15:18:08 christos Exp $");
+__RCSID("$NetBSD: global_locale.c,v 1.23 2016/03/08 04:00:11 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -143,7 +143,7 @@
     .numeric_name = _lc_C_locale_name,
 };
 
-/* __dso_protected */ struct _locale _lc_global_locale = {
+__dso_protected struct _locale _lc_global_locale = {
     .cache = &_C_cache,
     .query = { _C_LOCALE },
     .part_name = {
@@ -171,7 +171,7 @@
     },
 };
 
-/* __dso_protected */ const struct _locale _lc_C_locale = {
+__dso_protected const struct _locale _lc_C_locale = {
     .cache = &_C_cache,
     .query = { _C_LOCALE },
     .part_name = {



Home | Main Index | Thread Index | Old Index