1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

Repair build after svn r258115

options.get_size_type() appears to return a const char *, so assume that
its a string as oppose to *nothing*.  I have no idea what apple's code is
trying to do here:

http://opensource.apple.com/source/gperf/gperf-9/patches/size_type.patch
This commit is contained in:
Sean Bruno 2013-11-14 18:41:58 +00:00
parent 57538af0b7
commit b770668b1e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258139

View File

@ -779,7 +779,7 @@ Output::output_hash_function () const
" register %s len;\n" :
option[ANSIC] | option[CPLUSPLUS] ?
"(register const char *str, register %s len)\n" :
"", option.get_size_type());
"%s", option.get_size_type());
/* Note that when the hash function is called, it has already been verified
that min_key_len <= len <= max_key_len. */
@ -1907,7 +1907,7 @@ Output::output_lookup_function () const
" register %s len;\n" :
option[ANSIC] | option[CPLUSPLUS] ?
"(register const char *str, register %s len)\n" :
"", option.get_size_type());
"%s", option.get_size_type());
/* Output the function's body. */
printf ("{\n");