From: Darshit Shah Date: Mon, 13 Feb 2017 17:40:33 +0000 (+0100) Subject: unicase: Update function protoype to match definition X-Git-Tag: v1.0~6364 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f497bc109ac365359ce499aeaef74f39c7e4e8c7;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 51f6d25c65..9e4337afd4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2017-02-13 Darshit Shah + + 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 times test: Avoid gcc warnings on Linux/x32. diff --git a/lib/unicase/special-casing.h b/lib/unicase/special-casing.h index b2419a49a7..fc57523b9b 100644 --- a/lib/unicase/special-casing.h +++ b/lib/unicase/special-casing.h @@ -15,6 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ +#include /* 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);