| 7 |
|
|
| 8 |
|
#include <time.h> |
| 9 |
|
|
| 10 |
– |
#include "standard.h" |
| 10 |
|
#include "platform.h" |
| 11 |
+ |
#include "standard.h" |
| 12 |
|
#include "octree.h" |
| 13 |
|
#include "object.h" |
| 14 |
|
#include "mesh.h" |
| 15 |
|
#include "resolu.h" |
| 16 |
|
|
| 17 |
+ |
#ifdef getc_unlocked /* avoid horrendous overhead of flockfile */ |
| 18 |
+ |
#define getc getc_unlocked |
| 19 |
+ |
#endif |
| 20 |
+ |
|
| 21 |
|
static char *meshfn; /* input file name */ |
| 22 |
|
static FILE *meshfp; /* mesh file pointer */ |
| 23 |
|
static int objsize; /* sizeof(OBJECT) from writer */ |
| 96 |
|
default: |
| 97 |
|
mesherror(USER, "damaged mesh octree"); |
| 98 |
|
} |
| 99 |
< |
return NULL; /* pro forma return */ |
| 99 |
> |
return (OCTREE)NULL; /* pro forma return */ |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
|