aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-02-08 09:04:28 +0000
committerUlrich Drepper <drepper@redhat.com>2005-02-08 09:04:28 +0000
commit4bae262d2a83847c7e6e6df5989554d51ba8241f (patch)
tree4e3d7926192287bf6ba1fd5b2d2b311d35000365 /iconvdata
parent606832e6e59fc9771c1c9b2de8666bdfb0b344de (diff)
downloadglibc-4bae262d2a83847c7e6e6df5989554d51ba8241f.zip
glibc-4bae262d2a83847c7e6e6df5989554d51ba8241f.tar.gz
glibc-4bae262d2a83847c7e6e6df5989554d51ba8241f.tar.bz2
* iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.cvs/fedora-glibc-20050208T0948
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/jis0208.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/iconvdata/jis0208.h b/iconvdata/jis0208.h
index 9dea389..8255baf 100644
--- a/iconvdata/jis0208.h
+++ b/iconvdata/jis0208.h
@@ -1,5 +1,5 @@
/* Access functions for JISX0208 conversion.
- Copyright (C) 1997, 1998, 1999, 2000, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997,1998,1999,2000,2003,2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -24,15 +24,6 @@
#include <gconv.h>
#include <stdint.h>
-/* Conversion table. */
-extern const uint16_t __jis0208_to_ucs[];
-
-extern const char __jisx0208_from_ucs4_lat1[256][2];
-extern const char __jisx0208_from_ucs4_greek[0xc1][2];
-extern const struct jisx0208_ucs_idx __jisx0208_from_ucs_idx[];
-extern const char __jisx0208_from_ucs_tab[][2];
-
-
/* Struct for table with indeces in UCS mapping table. */
struct jisx0208_ucs_idx
{
@@ -42,6 +33,15 @@ struct jisx0208_ucs_idx
};
+/* Conversion table. */
+extern const uint16_t __jis0208_to_ucs[];
+
+extern const char __jisx0208_from_ucs4_lat1[256][2];
+extern const char __jisx0208_from_ucs4_greek[0xc1][2];
+extern const struct jisx0208_ucs_idx __jisx0208_from_ucs_idx[];
+extern const char __jisx0208_from_ucs_tab[][2];
+
+
static inline uint32_t
__attribute ((always_inline))
jisx0208_to_ucs4 (const unsigned char **s, size_t avail, unsigned char offset)