| 1 |
– |
/* Copyright (c) 1986 Regents of the University of California */ |
| 2 |
– |
|
| 1 |
|
#ifndef lint |
| 2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
| 2 |
> |
static const char RCSid[] = "$Id$"; |
| 3 |
|
#endif |
| 6 |
– |
|
| 4 |
|
/* |
| 5 |
|
* genmarble.c - generate a marble with bubbles inside. |
| 6 |
|
* |
| 9 |
|
|
| 10 |
|
#include <stdio.h> |
| 11 |
|
|
| 12 |
+ |
#include <stdlib.h> |
| 13 |
+ |
|
| 14 |
|
#include <math.h> |
| 15 |
|
|
| 16 |
|
#include "random.h" |
| 20 |
|
typedef double FVECT[3]; |
| 21 |
|
|
| 22 |
|
double bubble(); /* pretty cute, huh? */ |
| 24 |
– |
|
| 25 |
– |
#ifdef DCL_ATOF |
| 26 |
– |
extern double atof(); |
| 27 |
– |
#endif |
| 23 |
|
|
| 24 |
|
|
| 25 |
|
main(argc, argv) |