8 |
|
#include "copyright.h" |
9 |
|
|
10 |
|
#include <stdio.h> |
11 |
< |
#ifdef _WIN32 |
12 |
< |
#define popen _popen |
13 |
< |
#define pclose _pclose |
14 |
< |
#endif |
11 |
> |
#include <time.h> |
12 |
|
|
13 |
|
#include "standard.h" |
14 |
+ |
#include "platform.h" |
15 |
|
#include "octree.h" |
16 |
|
#include "object.h" |
17 |
|
#include "otypes.h" |
18 |
|
#include "resolu.h" |
19 |
|
|
20 |
< |
static double ogetflt(); |
21 |
< |
static long ogetint(); |
22 |
< |
static char *ogetstr(); |
23 |
< |
static int nonsurfinset(); |
20 |
> |
static double ogetflt(void); |
21 |
> |
static long ogetint(int); |
22 |
> |
static char *ogetstr(char *); |
23 |
> |
static int nonsurfinset(OBJECT *); |
24 |
|
static void octerror(int etyp, char *msg); |
25 |
|
static void skiptree(void); |
26 |
< |
static OCTREE getfullnode(), gettree(); |
26 |
> |
static OCTREE getfullnode(void), gettree(void); |
27 |
|
|
28 |
|
static char *infn; /* input file specification */ |
29 |
|
static FILE *infp; /* input file stream */ |