1 |
– |
/* Copyright (c) 1991 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 |
|
* makedist.c - program to make a source distribution. |
6 |
|
* |
17 |
|
|
18 |
|
#include <stdio.h> |
19 |
|
|
20 |
+ |
#include <stdlib.h> |
21 |
+ |
|
22 |
|
#include "random.h" |
23 |
|
|
24 |
|
#include "setscan.h" |
25 |
|
|
26 |
+ |
#ifndef BSD |
27 |
+ |
#define vfork fork |
28 |
+ |
#endif |
29 |
|
|
30 |
|
#define FTINY 1e-7 |
31 |
|
|
38 |
|
|
39 |
|
#define passarg(s) (rtargv[rtargc++] = s) |
40 |
|
|
39 |
– |
/* default angles */ |
41 |
|
ANGLE alpha[181] = {10, 25, 40, 55, 70, 85, AEND}; |
42 |
|
ANGLE beta[361] = {0,30,60,90,120,150,180,210,240,270,300,330,AEND}; |
43 |
|
|
61 |
|
int argc; |
62 |
|
char *argv[]; |
63 |
|
{ |
63 |
– |
double atof(); |
64 |
|
int i; |
65 |
|
|
66 |
|
progname = argv[0]; |