diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-11 21:57:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-11 21:57:23 +0000 |
commit | dd9423a67a7650a9b0f50d8151e4f3797c5a14f8 (patch) | |
tree | 2b796d5a03925d5782c12a7844c54f631f7d789c /iconvdata/gb2312.h | |
parent | c98d505c4dd96f7a58a3434fadbe4f6c30c29b08 (diff) | |
download | glibc-dd9423a67a7650a9b0f50d8151e4f3797c5a14f8.tar.gz glibc-dd9423a67a7650a9b0f50d8151e4f3797c5a14f8.tar.xz glibc-dd9423a67a7650a9b0f50d8151e4f3797c5a14f8.zip |
Update.
2003-06-11 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (queue_stack): Always inline. * ptreadhP.h (__do_cancel): Likewise.
Diffstat (limited to 'iconvdata/gb2312.h')
-rw-r--r-- | iconvdata/gb2312.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/iconvdata/gb2312.h b/iconvdata/gb2312.h index c6856515c1..f5eaaf2224 100644 --- a/iconvdata/gb2312.h +++ b/iconvdata/gb2312.h @@ -1,5 +1,5 @@ /* Access functions for GB2312 conversion. - Copyright (C) 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. @@ -30,6 +30,7 @@ extern const uint16_t __gb2312_to_ucs[]; static inline uint32_t +__attribute ((always_inline)) gb2312_to_ucs4 (const unsigned char **s, size_t avail, unsigned char offset) { unsigned char ch = *(*s); @@ -67,6 +68,7 @@ extern const char __gb2312_from_ucs4_tab8[][2]; extern const char __gb2312_from_ucs4_tab9[][2]; static inline size_t +__attribute ((always_inline)) ucs4_to_gb2312 (uint32_t wch, unsigned char *s, size_t avail) { unsigned int ch = (unsigned int) wch; |