diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-04-22 08:30:03 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-04-22 08:30:03 +0000 |
commit | 755b125b775637771f1b6e972a88e290a0c39301 (patch) | |
tree | bba4406499b79673674eda9c03e3cad83d74d9e1 | |
parent | 27378802eaab30d4e43c2bc34867d2aaf5c3cff6 (diff) | |
download | newlib-755b125b775637771f1b6e972a88e290a0c39301.zip newlib-755b125b775637771f1b6e972a88e290a0c39301.tar.gz newlib-755b125b775637771f1b6e972a88e290a0c39301.tar.bz2 |
* libc/stdio/local.h (__chclass, __state_table, __action_table):
Add extern to the declarations.
* libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise.
-rw-r--r-- | newlib/ChangeLog | 6 | ||||
-rw-r--r-- | newlib/libc/stdio/local.h | 6 | ||||
-rw-r--r-- | newlib/libc/stdlib/local.h | 4 |
3 files changed, 11 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 03f792f..8d3c1ad 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2009-04-22 Kazu Hirata <kazu@codesourcery.com> + + * libc/stdio/local.h (__chclass, __state_table, __action_table): + Add extern to the declarations. + * libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise. + 2009-04-21 Corinna Vinschen <corinna@vinschen.de> * libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from diff --git a/newlib/libc/stdio/local.h b/newlib/libc/stdio/local.h index 7305bd5..b69524c 100644 --- a/newlib/libc/stdio/local.h +++ b/newlib/libc/stdio/local.h @@ -222,6 +222,6 @@ typedef enum { PWPOS, /* get positional parameter value for variable width or precision */ } __ACTION; -_CONST __CH_CLASS __chclass[256]; -_CONST __STATE __state_table[MAX_STATE][MAX_CH_CLASS]; -_CONST __ACTION __action_table[MAX_STATE][MAX_CH_CLASS]; +extern _CONST __CH_CLASS __chclass[256]; +extern _CONST __STATE __state_table[MAX_STATE][MAX_CH_CLASS]; +extern _CONST __ACTION __action_table[MAX_STATE][MAX_CH_CLASS]; diff --git a/newlib/libc/stdlib/local.h b/newlib/libc/stdlib/local.h index 347154a..3e8eb02 100644 --- a/newlib/libc/stdlib/local.h +++ b/newlib/libc/stdlib/local.h @@ -57,10 +57,10 @@ int __big5_mbtowc (struct _reent *, wchar_t *, const char *, size_t, #endif #endif -wchar_t __iso_8859_conv[14][0x60]; +extern wchar_t __iso_8859_conv[14][0x60]; int __iso_8859_index (const char *); -wchar_t __cp_conv[12][0x80]; +extern wchar_t __cp_conv[12][0x80]; int __cp_index (const char *); #include <float.h> |