Blame


1 28994509 2004-04-21 devnull #include <u.h>
2 28994509 2004-04-21 devnull #include <libc.h>
3 28994509 2004-04-21 devnull #include "map.h"
4 28994509 2004-04-21 devnull extern void abort(void);
5 28994509 2004-04-21 devnull
6 28994509 2004-04-21 devnull /* these routines duplicate names found in map.c. they are
7 28994509 2004-04-21 devnull called from routines in hex.c, guyou.c, and tetra.c, which
8 28994509 2004-04-21 devnull are in turn invoked directly from map.c. this bad organization
9 28994509 2004-04-21 devnull arises from data hiding; only these three files know stuff
10 28994509 2004-04-21 devnull that's necessary for the proper handling of the unusual cuts
11 28994509 2004-04-21 devnull involved in these projections.
12 28994509 2004-04-21 devnull
13 28994509 2004-04-21 devnull the calling routines are not advertised as part of the library,
14 28994509 2004-04-21 devnull and the library duplicates should never get loaded, however they
15 28994509 2004-04-21 devnull are included to make the libary self-standing.*/
16 28994509 2004-04-21 devnull
17 28994509 2004-04-21 devnull int
18 28994509 2004-04-21 devnull picut(struct place *g, struct place *og, double *cutlon)
19 28994509 2004-04-21 devnull {
20 28994509 2004-04-21 devnull g; og; cutlon;
21 28994509 2004-04-21 devnull abort();
22 28994509 2004-04-21 devnull return 0;
23 28994509 2004-04-21 devnull }
24 28994509 2004-04-21 devnull
25 28994509 2004-04-21 devnull int
26 28994509 2004-04-21 devnull ckcut(struct place *g1, struct place *g2, double lon)
27 28994509 2004-04-21 devnull {
28 28994509 2004-04-21 devnull g1; g2; lon;
29 28994509 2004-04-21 devnull abort();
30 28994509 2004-04-21 devnull return 0;
31 28994509 2004-04-21 devnull }
32 28994509 2004-04-21 devnull
33 28994509 2004-04-21 devnull double
34 28994509 2004-04-21 devnull reduce(double x)
35 28994509 2004-04-21 devnull {
36 28994509 2004-04-21 devnull x;
37 28994509 2004-04-21 devnull abort();
38 28994509 2004-04-21 devnull return 0;
39 28994509 2004-04-21 devnull }