summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2000-08-20 20:31:15 +0000
committerBruno Haible <bruno@clisp.org>2000-08-20 20:31:15 +0000
commit3354d156d6fbebb692c9976f8d52b51ab60d7b66 (patch)
tree1558e93be0ddaca0125e0a1ede226a9fc5294dbc /tests
parentef96fc419f60ccb6b451b20ea0be6f3ee07dbfa7 (diff)
downloadgperf-3354d156d6fbebb692c9976f8d52b51ab60d7b66.tar.gz
Whitespace changes.
Diffstat (limited to 'tests')
-rw-r--r--tests/test.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/test.c b/tests/test.c
index 5d78156..6ae25cb 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -1,25 +1,25 @@
/*
Tests the generated perfect hash function.
- The -v option prints diagnostics as to whether a word is in
+ The -v option prints diagnostics as to whether a word is in
the set or not. Without -v the program is useful for timing.
-*/
-
+*/
+
#include <stdio.h>
#define MAX_LEN 80
-int
-main (argc, argv)
+int
+main (argc, argv)
int argc;
char *argv[];
{
int verbose = argc > 1 ? 1 : 0;
char buf[MAX_LEN];
- while (gets (buf))
- if (in_word_set (buf, strlen (buf)) && verbose)
+ while (gets (buf))
+ if (in_word_set (buf, strlen (buf)) && verbose)
printf ("in word set %s\n", buf);
- else if (verbose)
+ else if (verbose)
printf ("NOT in word set %s\n", buf);
return 0;