maint: update copyright
[gnulib.git] / lib / unicase / u16-toupper.c
index 3c4fbca..7ee96f5 100644 (file)
@@ -1,5 +1,5 @@
 /* Uppercase mapping for UTF-16 strings (locale dependent).
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2009.
 
    This program is free software: you can redistribute it and/or modify it
 
 uint16_t *
 u16_toupper (const uint16_t *s, size_t n, const char *iso639_language,
-            uninorm_t nf,
-            uint16_t *resultbuf, size_t *lengthp)
+             uninorm_t nf,
+             uint16_t *resultbuf, size_t *lengthp)
 {
-  return u16_casemap (s, n, iso639_language,
-                     uc_toupper, offsetof (struct special_casing_rule, upper[0]),
-                     nf,
-                     resultbuf, lengthp);
+  return u16_casemap (s, n,
+                      unicase_empty_prefix_context, unicase_empty_suffix_context,
+                      iso639_language,
+                      uc_toupper, offsetof (struct special_casing_rule, upper[0]),
+                      nf,
+                      resultbuf, lengthp);
 }