Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/locale struct _locale_time_t _global_locale is a da...



details:   https://anonhg.NetBSD.org/src/rev/5e2d2c1005fa
branches:  trunk
changeset: 749543:5e2d2c1005fa
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Wed Dec 02 08:53:03 2009 +0000

description:
struct _locale_time_t _global_locale is a datum.  Declare it as extern.

diffstat:

 lib/libc/locale/setlocale_local.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 02b8058a1105 -r 5e2d2c1005fa lib/libc/locale/setlocale_local.h
--- a/lib/libc/locale/setlocale_local.h Wed Dec 02 08:46:33 2009 +0000
+++ b/lib/libc/locale/setlocale_local.h Wed Dec 02 08:53:03 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: setlocale_local.h,v 1.2 2009/01/11 02:46:29 christos Exp $ */
+/* $NetBSD: setlocale_local.h,v 1.3 2009/12/02 08:53:03 uebayasi Exp $ */
 
 /*-
  * Copyright (c)2008 Citrus Project,
@@ -67,7 +67,7 @@
 __BEGIN_DECLS
 _locale_category_t     *_find_category(int);
 const char             *_get_locale_env(const char *);
-struct _locale_impl_t  _global_locale;
+extern struct _locale_impl_t   _global_locale;
 struct _locale_impl_t  **_current_locale(void);
 __END_DECLS
 



Home | Main Index | Thread Index | Old Index