From 9d1e80cbbb966c1206a27f1dabf9cb5e85709ba7 Mon Sep 17 00:00:00 2001 From: BurnZeZ Date: Tue, 1 Mar 2016 19:36:24 -0500 Subject: map/libmap: remove unused function/definitions --- sys/src/cmd/map/libmap/zcoord.c | 6 ------ sys/src/cmd/map/map.h | 2 -- 2 files changed, 8 deletions(-) (limited to 'sys/src') 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 -- cgit v1.2.3