chiark / gitweb /
pinpoint tests for a couple more unicode.c bits
[disorder] / lib / utf8.c
index d4dc472077de51ed7faa045ef0f6d51602d72cd9..9ca228c70982558f3ddc74089bd6d45f66e2d35e 100644 (file)
 
 #include "utf8.h"
 
-int validutf8(const char *s) {
-  unsigned long c;
-
-  while(*s)
-    PARSE_UTF8(s, c, return 0);
-  return 1;
-}
-
 /*
 Local Variables:
 c-basic-offset:2
@@ -38,4 +30,3 @@ comment-column:40
 fill-column:79
 End:
 */
-/* arch-tag:WGilqGFnXhhAeU5ZnbG8oQ */