| 1 |
– |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
| 2 |
– |
|
| 1 |
|
#ifndef lint |
| 2 |
< |
static char SCCSid[] = "$SunId$ SGI"; |
| 2 |
> |
static const char RCSid[] = "$Id$"; |
| 3 |
|
#endif |
| 6 |
– |
|
| 4 |
|
/* |
| 5 |
|
* Rtrace support routines for holodeck rendering |
| 6 |
|
*/ |
| 27 |
|
register HOLO *hp; |
| 28 |
|
GCOORD *gc; |
| 29 |
|
{ |
| 30 |
< |
register FLOAT *v; |
| 30 |
> |
register RREAL *v; |
| 31 |
|
register int i; |
| 32 |
|
|
| 33 |
|
if (hp != NULL) { |
| 277 |
|
int status; |
| 278 |
|
/* already closed? */ |
| 279 |
|
if (!nprocs) |
| 280 |
< |
return; |
| 280 |
> |
return(0); |
| 281 |
|
/* flush beam queue */ |
| 282 |
|
done_packets(flush_queue()); |
| 283 |
|
/* sync holodeck */ |
| 348 |
|
pippt = NULL; |
| 349 |
|
} |
| 350 |
|
if (pippt != NULL) |
| 351 |
< |
strcpy(pippt, "> /dev/null"); /* nothing to match */ |
| 351 |
> |
strcpy(pippt, "> " NULL_DEVICE); /* nothing to match */ |
| 352 |
|
else |
| 353 |
|
sprintf(cp, ")[ \t]*=' > %s", tf2); |
| 354 |
|
#ifdef DEBUG |