Mercurial > hg > octave-lojdl > gnulib-hg
changeset 7065:cae41cb69541
Oops, weird typos in last patch.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 28 Jul 2006 17:32:33 +0000 |
parents | 9f7f0714a40a |
children | 3288bb324a28 |
files | lib/mbchar.h lib/wcwidth.h |
diffstat | 2 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/mbchar.h +++ b/lib/mbchar.h @@ -160,7 +160,7 @@ /* FreeBSD 4.4 to 4.11 has <wctype.h> but lacks the functions. Assume all 12 functions are implemented the same way, or not at all. */ #if !defined iswalnum && !HAVE_ISWCNTRL -ststic inline int +static inline int iswalnum (wint_t wc) { return (wc >= 0 && wc < 128 @@ -170,7 +170,7 @@ # define iswalnum iswalnum #endif #if !defined iswalpha && !HAVE_ISWCNTRL -ststic inline int +static inline int iswalpha (wint_t wc) { return (wc >= 0 && wc < 128 @@ -180,7 +180,7 @@ # define iswalpha iswalpha #endif #if !defined iswblank && !HAVE_ISWCNTRL -ststic inline int +static inline int iswblank (wint_t wc) { return (wc >= 0 && wc < 128 @@ -190,7 +190,7 @@ # define iswblank iswblank #endif #if !defined iswcntrl && !HAVE_ISWCNTRL -ststic inline int +static inline int iswcntrl (wint_t wc) { return (wc >= 0 && wc < 128 @@ -200,7 +200,7 @@ # define iswcntrl iswcntrl #endif #if !defined iswdigit && !HAVE_ISWCNTRL -ststic inline int +static inline int iswdigit (wint_t wc) { return (wc >= '0' && wc <= '9'); @@ -208,7 +208,7 @@ # define iswdigit iswdigit #endif #if !defined iswgraph && !HAVE_ISWCNTRL -ststic inline int +static inline int iswgraph (wint_t wc) { return (wc >= 0 && wc < 128 @@ -218,7 +218,7 @@ # define iswgraph iswgraph #endif #if !defined iswlower && !HAVE_ISWCNTRL -ststic inline int +static inline int iswlower (wint_t wc) { return (wc >= 0 && wc < 128 @@ -228,7 +228,7 @@ # define iswlower iswlower #endif #if !defined iswprint && !HAVE_ISWCNTRL -ststic inline int +static inline int iswprint (wint_t wc) { return (wc >= 0 && wc < 128 @@ -238,7 +238,7 @@ # define iswprint iswprint #endif #if !defined iswpunct && !HAVE_ISWCNTRL -ststic inline int +static inline int iswpunct (wint_t wc) { return (wc >= 0 && wc < 128 @@ -250,7 +250,7 @@ # define iswpunct iswpunct #endif #if !defined iswspace && !HAVE_ISWCNTRL -ststic inline int +static inline int iswspace (wint_t wc) { return (wc >= 0 && wc < 128 @@ -261,7 +261,7 @@ # define iswspace iswspace #endif #if !defined iswupper && !HAVE_ISWCNTRL -ststic inline int +static inline int iswupper (wint_t wc) { return (wc >= 0 && wc < 128 @@ -271,7 +271,7 @@ # define iswupper iswupper #endif #if !defined iswxdigit && !HAVE_ISWCNTRL -ststic inline int +static inline int iswxdigit (wint_t wc) { return (wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F');