/* dist is not initialized !
 * should dist be DIST ? */
static double dist, e = 0, n = 0;
static double DIST, HT;
int do_profile(double, double, double, double, const char *, int, int);
int read_rast(double, double, double, int, int, RASTER_MAP_TYPE);
