aboutsummaryrefslogtreecommitdiffstats
path: root/test/ccured_olden/health/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ccured_olden/health/args.c')
-rw-r--r--test/ccured_olden/health/args.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/ccured_olden/health/args.c b/test/ccured_olden/health/args.c
deleted file mode 100644
index f8e7a8cc..00000000
--- a/test/ccured_olden/health/args.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* For copyright information, see olden_v1.0/COPYRIGHT */
-
-/*****************************************************************
- * args.c: Handles arguments to command line. *
- * To be used with health.c. *
- *****************************************************************/
-
-#include <stdio.h>
-#include <stdlib.h>
-#include "health.h"
-
-#ifdef SS_PLAIN
-#include "ssplain.h"
-#endif SS_PLAIN
-
-void dealwithargs(int argc, char *argv[]) {
-
- if (argc < 4)
- {
- fprintf(stderr, "usage: health <# levels> <time> <seed>\n");
- exit(1);
- }
-
- max_level = atoi(argv[1]);
- fprintf(stderr, "This is max_level : %d\n", max_level);
- max_time = atol(argv[2]);
- fprintf(stderr, "This is max_time : %ld\n", max_time); // sm: "%d" -> "%ld"
- seed = atol(argv[3]);
-}
-
-
-
-
-