typedef struct /* nav2mat.c, etc. */ { int degree,minute; double decimal; char nsew; } POSITION_TYPE; int sscan_pos(char *buff, double *lat, double *lon);