diff options
author | Darshit Shah <darnir@gnu.org> | 2017-02-13 18:40:33 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-02-13 20:36:02 +0100 |
commit | f497bc109ac365359ce499aeaef74f39c7e4e8c7 (patch) | |
tree | 6b3b9f8286dfa9627fb5e75e7d9c2ea640844c19 /lib/unicase | |
parent | d66ababa0fb0b537a555acc708986e9ccdffa64a (diff) | |
download | gnulib-f497bc109ac365359ce499aeaef74f39c7e4e8c7.tar.gz |
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.
Diffstat (limited to 'lib/unicase')
-rw-r--r-- | lib/unicase/special-casing.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <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); |