diff options
Diffstat (limited to 'src/bnetz/stations.c')
-rw-r--r-- | src/bnetz/stations.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bnetz/stations.c b/src/bnetz/stations.c index 96265e8..0d87c1e 100644 --- a/src/bnetz/stations.c +++ b/src/bnetz/stations.c @@ -2,6 +2,7 @@ #include <stdlib.h> #include <string.h> #include <math.h> +#include "stations.h" static struct bnetz_stations { const char *standort; @@ -221,7 +222,7 @@ static struct bnetz_stations { { NULL, 0, NULL } }; -double lat_from_coordinates(const char *string) +static double lat_from_coordinates(const char *string) { if (strlen(string) != 11) abort(); @@ -242,7 +243,7 @@ double lat_from_coordinates(const char *string) (double)(string[4] - '0') / 60.0; } -double lon_from_coordinates(const char *string) +static double lon_from_coordinates(const char *string) { if (strlen(string) != 11) abort(); |