aboutsummaryrefslogtreecommitdiff
path: root/string/test-ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/test-ffs.c')
-rw-r--r--string/test-ffs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/test-ffs.c b/string/test-ffs.c
index 8d46d4e076..9bc0796a1e 100644
--- a/string/test-ffs.c
+++ b/string/test-ffs.c
@@ -29,7 +29,7 @@ main (void)
int i;
auto void try (int value, int expected);
-
+
void try (int value, int expected)
{
if (ffs (value) != expected)
@@ -52,5 +52,5 @@ main (void)
else
puts ("Test succeeded.");
- exit (failures);
+ return failures;
}