+#include "Main.h"
#include <stdio.h>
#include <string.h>
-#include "Main.h"
+#include <stdlib.h>
#include "Defines.h"
#include "AuxFile.h"
#include "AreaBelow.h"
#include "Error.h"
#include "Utilities.h"
-#ifndef atof
-extern double atof PROTO((char *));
-#endif
-
boolish pflag = 0; /* read auxiliary file */
boolish eflag = 0; /* scaled EPSF */
boolish dflag = 0; /* sort by standard deviation */
boolish sflag = 0; /* use a small title box */
int mflag = 0; /* max no. of bands displayed (default 20) */
boolish tflag = 0; /* ignored threshold specified */
+boolish cflag = 0; /* colour output */
boolish filter; /* true when running as a filter */
if (THRESHOLD_PERCENT < 0 || THRESHOLD_PERCENT > 5)
Usage(*argv-1);
goto nextarg;
+ case 'c':
+ cflag++;
+ goto nextarg;
case '?':
default:
Usage(*argv-1);