diff options
author | rsc <devnull@localhost> | 2006-04-14 00:15:16 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-14 00:15:16 +0000 |
commit | 90a99688be7fd813273e1f1f28ba8fa34cb9dc44 (patch) | |
tree | a36265435b486a6ec4837cb6bb26ac67c555e2eb /src/cmd/tpic/linegen.c | |
parent | b6d98463b416e9d95bc88f948b4abdff6b24aede (diff) | |
download | plan9port-90a99688be7fd813273e1f1f28ba8fa34cb9dc44.tar.gz plan9port-90a99688be7fd813273e1f1f28ba8fa34cb9dc44.tar.bz2 plan9port-90a99688be7fd813273e1f1f28ba8fa34cb9dc44.zip |
fixes
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 */ |