diff --git a/braces.c b/braces.c index c6d567f..4e66fb3 100644 --- a/braces.c +++ b/braces.c @@ -786,20 +786,6 @@ array_concat (arr1, arr2) #if defined (TEST) #include -fatal_error (format, arg1, arg2) - char *format, *arg1, *arg2; -{ - report_error (format, arg1, arg2); - exit (1); -} - -report_error (format, arg1, arg2) - char *format, *arg1, *arg2; -{ - fprintf (stderr, format, arg1, arg2); - fprintf (stderr, "\n"); -} - main () { char example[256]; @@ -823,7 +809,7 @@ main () for (i = 0; result[i]; i++) printf ("%s\n", result[i]); - free_array (result); + strvec_dispose (result); } }