]> err.no Git - mapper/commitdiff
Mark non-public functions static
authorKaj-Michael Lang <milang@tal.org>
Mon, 18 Feb 2008 21:10:13 +0000 (23:10 +0200)
committerKaj-Michael Lang <milang@tal.org>
Mon, 18 Feb 2008 21:10:13 +0000 (23:10 +0200)
src/osm-db-import.c

index 1bb3bf0a489a78dc6aad54a1dddf2aff6ad4d801..c71c4215b40d2ec9cc1cef7aaea18eb6d46282da 100644 (file)
@@ -430,7 +430,7 @@ sqlite3_prepare_v2(db, "delete from way_ref", -1, &sql.delete_way_ref, NULL);
 
 /********************************************************************/
 
-void
+static void
 print_way(way *w)
 {
 #ifdef VERBOSE
@@ -449,7 +449,7 @@ g_printf("Way #%d(N:%d T:%d S:%d IS: %d/%d): %s [%s:%s:%s]\n",
 #endif
 }
 
-void
+static void
 print_node(node *n)
 {
 #ifdef VERBOSE
@@ -465,7 +465,7 @@ g_printf("Node #%d: T:%d IS: %d/%d [%s]\n",
 
 /********************************************************************/
 
-gboolean
+static gboolean
 db_insert_node(node *n)
 {
 gint32 lat, lon;
@@ -952,7 +952,7 @@ w->data->layer=0;
 w->data->speed=0;
 }
 
-void
+static void
 osm_free_way_data(way *w)
 {
 g_assert(w);
@@ -1063,7 +1063,7 @@ while (*place!=NULL) {
 return 0;
 }
 
-guint32
+static guint32
 osm_find_way_place(way *w, node_type_t nt)
 {
 gchar **isin;
@@ -1607,7 +1607,6 @@ g_hash_table_destroy(osm_place_region);
 g_hash_table_destroy(osm_node_isin);
 }
 
-
 /************************************************************************/
 
 static gint