Patch to wctype.c (committed)
Ben Elliston
bje@wasabisystems.com
Tue Sep 9 13:16:00 GMT 2003
Also committed as obvious.
Ben
2003-09-05 Ben Elliston <bje@wasabisystems.com>
* libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
modern versions of GCC issue a warning.
Index: libc/ctype/wctype.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/ctype/wctype.c,v
retrieving revision 1.1
diff -u -r1.1 wctype.c
--- libc/ctype/wctype.c 20 Sep 2002 20:13:10 -0000 1.1
+++ libc/ctype/wctype.c 5 Sep 2003 02:19:50 -0000
@@ -120,7 +120,6 @@
if (!strcmp (c, "xdigit"))
return WC_XDIGIT;
break;
- default:
}
/* otherwise invalid */
More information about the Newlib
mailing list