map/libmap: remove unused function/definitions
This commit is contained in:
parent
dacebbb2e7
commit
9d1e80cbbb
2 changed files with 0 additions and 8 deletions
|
@ -123,12 +123,6 @@ norm(struct place *gg, struct place *pp, struct coord *tw)
|
||||||
g->wlon.l += 2*PI;
|
g->wlon.l += 2*PI;
|
||||||
}
|
}
|
||||||
|
|
||||||
double
|
|
||||||
tan(double x)
|
|
||||||
{
|
|
||||||
return(sin(x)/cos(x));
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
printp(struct place *g)
|
printp(struct place *g)
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
#define TWOPI (2*PI)
|
#define TWOPI (2*PI)
|
||||||
#define RAD (PI/180)
|
#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 ECC .08227185422 /* eccentricity of earth */
|
||||||
#define EC2 .006768657997
|
#define EC2 .006768657997
|
||||||
|
|
Loading…
Reference in a new issue