# | Line 1 | Line 1 | |
---|---|---|
1 | – | /* |
2 | – | |
1 | #ifndef lint | |
2 | < | static char SCCSid[] = "$SunId$ LBL"; |
2 | > | static const char RCSid[] = "$Id$"; |
3 | #endif | |
4 | + | /* |
5 | * genbranch.c - program to generate 3D Christmas tree branches. | |
6 | * | |
7 | * 8/23/86 | |
# | Line 10 | Line 9 | static char SCCSid[] = "$SunId$ LBL"; | |
9 | ||
10 | #include <stdio.h> | |
11 | ||
12 | + | #include <stdlib.h> |
13 | + | |
14 | + | #include <math.h> |
15 | + | |
16 | #include "random.h" | |
17 | ||
18 | #define errf() (var*(0.5-frandom())) | |
# | Line 33 | Line 36 | main(argc, argv) | |
36 | int argc; | |
37 | char *argv[]; | |
38 | { | |
36 | – | double atof(); |
39 | int i, j; | |
40 | ||
41 | for (i = 1; i < argc && argv[i][0] == '-'; i++) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |