__iswalnum etc?

Andreas Jaeger aj@suse.de
Thu Dec 28 01:10:00 GMT 2000


Compiling glibc gives these warnings:
wcfuncs.c:39: warning: no previous prototype for `__iswalnum'
wcfuncs.c:41: warning: no previous prototype for `__iswalpha'
wcfuncs.c:43: warning: no previous prototype for `__iswblank'
wcfuncs.c:45: warning: no previous prototype for `__iswcntrl'
wcfuncs.c:47: warning: no previous prototype for `__iswdigit'
wcfuncs.c:49: warning: no previous prototype for `__iswlower'
wcfuncs.c:51: warning: no previous prototype for `__iswgraph'
wcfuncs.c:53: warning: no previous prototype for `__iswprint'
wcfuncs.c:55: warning: no previous prototype for `__iswpunct'
wcfuncs.c:59: warning: no previous prototype for `__iswupper'
wcfuncs.c:61: warning: no previous prototype for `__iswxdigit'

Why do we need the __iswalnum declarations at all?  Shouldn't we
declare them directly as iswalnum without using aliases?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Libc-hacker mailing list