X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fsdf2img.c;fp=src%2Fsdf2img.c;h=b19013b796cac96bc5344322a7811fb064149507;hb=331b5c344271387790f735540510e2a07e4e42a7;hp=4972ac63b615f541eeaf400c086ff4420133463a;hpb=44ba0e9facc91003bf3ef32876f8b8ac5439c3c1;p=ctsim.git diff --git a/src/sdf2img.c b/src/sdf2img.c index 4972ac6..b19013b 100644 --- a/src/sdf2img.c +++ b/src/sdf2img.c @@ -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[] = {