summaryrefslogtreecommitdiff
path: root/sys/src/cmd/map
diff options
context:
space:
mode:
authorBurnZeZ <brz-9dev@feline.systems>2016-03-01 19:36:24 -0500
committerBurnZeZ <brz-9dev@feline.systems>2016-03-01 19:36:24 -0500
commit9d1e80cbbb966c1206a27f1dabf9cb5e85709ba7 (patch)
tree74b9396c4d3f10a25c1c4c63bb13b43ec39d173d /sys/src/cmd/map
parentdacebbb2e7c1098d7d6567317abc169f2ec327b8 (diff)
map/libmap: remove unused function/definitions
Diffstat (limited to 'sys/src/cmd/map')
-rw-r--r--sys/src/cmd/map/libmap/zcoord.c6
-rw-r--r--sys/src/cmd/map/map.h2
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