]> git.saurik.com Git - apple/libc.git/blobdiff - locale/FreeBSD/wctype.c
Libc-763.11.tar.gz
[apple/libc.git] / locale / FreeBSD / wctype.c
index a0e21bc87a7812bc3343c40f7fdb613baf664f56..2db1c9bda1ef0470af87c0057cbc7d6a63c6a339 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libc/locale/wctype.c,v 1.3 2004/03/27 08:59:21 tjr Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/locale/wctype.c,v 1.4 2008/03/17 18:22:23 antoine Exp $");
 
 #include <ctype.h>
 #include <string.h>
@@ -42,7 +42,7 @@ iswctype(wint_t wc, wctype_t charclass)
 wctype_t
 wctype(const char *property)
 {
-       struct {
+       static const struct {
                const char      *name;
                wctype_t         mask;
        } props[] = {