| # | Line 13 | Line 13 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 13 | */ | |
| 14 | ||
| 15 | #include <stdio.h> | |
| 16 | + | #include <math.h> |
| 17 | ||
| 18 | #define MAXSTR 128 /* maximum string or id length */ | |
| 19 | #define MAXPTS 2048 /* maximum points per object */ | |
| 20 | ||
| 20 | – | #ifndef atof |
| 21 | – | extern double atof(); |
| 22 | – | #endif |
| 23 | – | |
| 21 | typedef struct { | |
| 22 | double x, y, z; | |
| 23 | } POINT; | |
| 24 | ||
| 25 | double rad = 0.0; /* line radius */ | |
| 26 | + | |
| 27 | + | #ifdef DECL_ATOF |
| 28 | + | extern double atof(); |
| 29 | + | #endif |
| 30 | ||
| 31 | ||
| 32 | main(argc, argv) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |