]> Savannah Git Hosting - gnulib.git/commitdiff
unicase: Update function protoype to match definition
authorDarshit Shah <darnir@gnu.org>
Mon, 13 Feb 2017 17:40:33 +0000 (18:40 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Feb 2017 19:36:02 +0000 (20:36 +0100)
* lib/unicase/special-casing.h (gl_unicase_special_lookup): Gperf 3.1
uses 'size_t' as the datatype for the 'len' parameter in the functions
it generates. Update the prototype specified here to match the newly
generated function.

ChangeLog
lib/unicase/special-casing.h

index 51f6d25c659c49219fa4489160af7b5445d8c9a2..9e4337afd43b5801044043f1bef318eae47813ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-02-13  Darshit Shah  <darnir@gnu.org>
+
+       unicase: Update function protoype to match definition.
+       * lib/unicase/special-casing.h (gl_unicase_special_lookup): Gperf 3.1
+       uses 'size_t' as the datatype for the 'len' parameter in the functions
+       it generates. Update the prototype specified here to match the newly
+       generated function.
+
 2017-02-12  Bruno Haible  <bruno@clisp.org>
 
        times test: Avoid gcc warnings on Linux/x32.
index b2419a49a718a60a4f2fbf43c89b996f33cd9183..fc57523b9b9db26b845919bbd04a8dfd56a9446b 100644 (file)
@@ -15,6 +15,7 @@
    You should have received a copy of the GNU Lesser General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#include <stddef.h>
 
 /* A special casing context.
    A context is negated through x -> -x.  */
@@ -57,4 +58,4 @@ struct special_casing_rule
 };
 
 extern const struct special_casing_rule *
-       gl_unicase_special_lookup (const char *str, unsigned int len);
+       gl_unicase_special_lookup (const char *str, size_t len);