File:  [DVB] / dietlibc / lib / isxdigit.c
Revision 1.6: download - view: text, annotated - select for diffs
Tue Aug 14 16:56:50 2001 UTC (22 years, 9 months ago) by fefe
Branches: MAIN
CVS tags: finnland_test_200301, branch_rc14_fieldtest_finnland, branch_rc13_fieldtest_finnland, branch_rc12_fieldtest_finnland, branch_rc10_fieldtest_finnland, RELEASE_finnland_200301_1, RC12_FIELDTEST_FINNLAND, RC10_FIELDTEST_FINNLAND, HEAD
enabled a few more obscure gcc warnings and started adding fluff code to
silence them.

int __isxdigit_ascii ( int ch );
int __isxdigit_ascii ( int ch )
{
    return (unsigned int)( ch         - '0') < 10u  || 
           (unsigned int)((ch | 0x20) - 'a') <  6u;
}

int isxdigit ( int ch ) __attribute__((weak,alias("__isxdigit_ascii")));

LinuxTV legacy CVS <linuxtv.org/cvs>