diff options
| -rw-r--r-- | sys/src/cmd/map/libmap/zcoord.c | 6 | ||||
| -rw-r--r-- | sys/src/cmd/map/map.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/cmd/map/libmap/zcoord.c b/sys/src/cmd/map/libmap/zcoord.c index 7c3d3ad75..01d41a1d7 100644 --- a/sys/src/cmd/map/libmap/zcoord.c +++ b/sys/src/cmd/map/libmap/zcoord.c @@ -123,12 +123,6 @@ norm(struct place *gg, struct place *pp, struct coord *tw) g->wlon.l += 2*PI; } -double -tan(double x) -{ - return(sin(x)/cos(x)); -} - void printp(struct place *g) { diff --git a/sys/src/cmd/map/map.h b/sys/src/cmd/map/map.h index 2e0c9fad9..05dddd411 100644 --- a/sys/src/cmd/map/map.h +++ b/sys/src/cmd/map/map.h @@ -7,8 +7,6 @@ #define TWOPI (2*PI) #define RAD (PI/180) -double hypot(double, double); /* sqrt(a*a+b*b) */ -double tan(double); /* not in K&R library */ #define ECC .08227185422 /* eccentricity of earth */ #define EC2 .006768657997 |
