--- a/testcase.c
+++ b/testcase.c
@@ -14,7 +14,6 @@
{
char line[83];
char *token;
- int i;
if (argc != 4) {
printf ("Usage: %s (char*)string (char*)delim1 (char*)delim2\n", argv[0]);
@@ -30,26 +29,7 @@
token = strtok (NULL, argv[3]);
}
- i = 0;
- printf ("while i++ <5: ");
- while (i++ < 5)
- printf ("%d ", i);
-
- i = 0;
- printf ("\nwhile ++i <5: ");
- while (++i < 5)
- printf ("%d ", i);
+ printf ("\nTest finished\n");
- i = 0;
- printf ("\nwhile i <5 : ");
- while (i < 5)
- printf ("%d ", i++);
-
- i = 0;
- printf ("\nwhile i <5 : ");
- while (i < 5)
- printf ("%d ", ++i);
-
- printf ("\nTest finished\n");
- return 0;
+ return EXIT_SUCCESS;
}