maint: update all copyright year number ranges
[gnulib.git] / lib / unilbrk / ulc-common.c
index 7bdfa44..a50f70c 100644 (file)
@@ -1,5 +1,5 @@
 /* Line breaking auxiliary functions.
-   Copyright (C) 2001-2003, 2006-2008 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2006-2013 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify it
 #include "unilbrk/ulc-common.h"
 
 #include "c-ctype.h"
-#include "streq.h"
+#include "c-strcaseeq.h"
 
 int
 is_utf8_encoding (const char *encoding)
 {
-  if (STREQ (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0 ,0))
+  if (STRCASEEQ (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0))
     return 1;
   return 0;
 }
@@ -43,7 +43,7 @@ is_all_ascii (const char *s, size_t n)
       unsigned char c = (unsigned char) *s;
 
       if (!(c_isprint (c) || c_isspace (c)))
-       return 0;
+        return 0;
     }
   return 1;
 }