summaryrefslogtreecommitdiff
path: root/tests/charsets.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/charsets.exp')
-rw-r--r--tests/charsets.exp12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/charsets.exp b/tests/charsets.exp
index 9256f89..ccbd078 100644
--- a/tests/charsets.exp
+++ b/tests/charsets.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 3.0.4 */
+/* ANSI-C code produced by gperf version 3.1 */
/* Command-line: ../src/gperf -C -E -G -I -t */
/* Computed positions: -k'1-11,22,$' */
@@ -26,7 +26,7 @@
&& ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
&& ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646. */
-error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
+#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
#endif
@@ -56,9 +56,7 @@ inline
#endif
#endif
static unsigned int
-hash (str, len)
- register const char *str;
- register unsigned int len;
+hash (register const char *str, register unsigned int len)
{
static const unsigned short asso_values[] =
{
@@ -1810,9 +1808,7 @@ __attribute__ ((__gnu_inline__))
#endif
#endif
const struct charset *
-in_word_set (str, len)
- register const char *str;
- register unsigned int len;
+in_word_set (register const char *str, register unsigned int len)
{
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
{