r41: ANSI C changes
[ctsim.git] / src / sdf2img.c
index 4972ac63b615f541eeaf400c086ff4420133463a..b19013b796cac96bc5344322a7811fb064149507 100644 (file)
@@ -2,10 +2,14 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: sdf2img.c,v 1.1 2000/04/28 13:02:44 kevin Exp $
+**  $Id: sdf2img.c,v 1.2 2000/05/08 20:02:32 kevin Exp $
 **  $Log: sdf2img.c,v $
-**  Revision 1.1  2000/04/28 13:02:44  kevin
-**  Initial revision
+**  Revision 1.2  2000/05/08 20:02:32  kevin
+**  ANSI C changes
+**
+**  Revision 1.1.1.1  2000/04/28 13:02:44  kevin
+**  Initial CVS import for first public release
+**
 **
 **
 **  This program is free software; you can redistribute it and/or modify
@@ -36,18 +40,8 @@ void sdf2d_to_gif (IMAGE *im, char *outfile, int nxcell, int nycell, double dens
 void sdf2d_to_pgm (IMAGE *im, char *outfile, int nxcell, int nycell, double densmin, double densmax);
 void sdf2d_to_pgmasc (IMAGE *im, char *outfile, int nxcell, int nycell, double densmin, double densmax);
 
-#define O_SCALE    1
-#define O_MIN      2
-#define O_MAX      3
-#define O_AUTO     4
-#define O_CENTER   5
-#define O_STATS    6
-#define O_VERBOSE  7
-#define O_HELP     8
-#define O_FORMAT   9
-#define O_LABELS   10
-#define O_VERSION  11
-#define O_DEBUG    12
+enum { O_SCALE, O_MIN, O_MAX, O_AUTO, O_CENTER, O_STATS, O_FORMAT, O_LABELS, 
+       O_HELP, O_VERBOSE, O_VERSION, O_DEBUG };
 
 static struct option my_options[] =
 {