Module Name: src
Committed By: uebayasi
Date: Wed Dec 2 08:53:03 UTC 2009
Modified Files:
src/lib/libc/locale: setlocale_local.h
Log Message:
struct _locale_time_t _global_locale is a datum. Declare it as extern.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/locale/setlocale_local.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/locale/setlocale_local.h
diff -u src/lib/libc/locale/setlocale_local.h:1.2 src/lib/libc/locale/setlocale_local.h:1.3
--- src/lib/libc/locale/setlocale_local.h:1.2 Sun Jan 11 02:46:29 2009
+++ src/lib/libc/locale/setlocale_local.h Wed Dec 2 08:53:03 2009
@@ -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