]> git.street.me.uk Git - andy/viking.git/commitdiff
QA: un-needed external reference
author(null) <(null)>
Tue, 2 Sep 2008 12:25:27 +0000 (14:25 +0200)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Fri, 27 Mar 2009 11:14:38 +0000 (12:14 +0100)
src/googlemaps.c
src/googlemaps.h

index 313a468cc3846df1350fe9563d51d0a6cfbc3d95..308fe92c785537a368e751a90c223c2e8c294a61 100644 (file)
@@ -55,7 +55,7 @@ static const gdouble scale_mpps[] = { GZ(1)/2, GZ(1), GZ(2), GZ(3), GZ(4), GZ(5)
 static const gint num_scales = (sizeof(scale_mpps) / sizeof(scale_mpps[0]));
 
 #define ERROR_MARGIN 0.01
-guint8 googlemaps_zoom ( gdouble mpp ) {
+static guint8 googlemaps_zoom ( gdouble mpp ) {
   gint i;
   for ( i = 0; i < num_scales; i++ ) {
     if ( ABS(scale_mpps[i] - mpp) < ERROR_MARGIN )
index 8964e9bb223cc70270a08f22bd981fdff418ec92..0c424d5a97ad50fa140c658e94b1db384477fe0d 100644 (file)
@@ -29,8 +29,6 @@
 
 void googlemaps_init ();
 
-guint8 googlemaps_zoom ( gdouble mpp );
-
 /* a bit misleading, this is the "mpp" (really just set zoom level, very
  * roughly equivalent so you can easily switch between maps) of
  * google maps 1, the second google maps level (1st is 0). */