diff options
Diffstat (limited to 'src/cmd/tpic/linegen.c')
-rw-r--r-- | src/cmd/tpic/linegen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/tpic/linegen.c b/src/cmd/tpic/linegen.c index a5394232..8a7e08be 100644 --- a/src/cmd/tpic/linegen.c +++ b/src/cmd/tpic/linegen.c @@ -1,3 +1,4 @@ +#include <math.h> #include <stdio.h> #include "pic.h" #include "y.tab.h" @@ -11,7 +12,7 @@ linegen(int type) static double prevh = HT5; int i, j, some, head, ddtype, invis, chop; double ddval, chop1, chop2, x0, y0, x1, y1; - double sin(), cos(), atan2(), theta; + double theta; double defx, defy; obj *p, *ppos; static int xtab[] = { 1, 0, -1, 0 }; /* R=0, U=1, L=2, D=3 */ |