From 03d2760d7d31f206c96e79c0cf92c476922aa9e4 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 18 Feb 2008 23:10:13 +0200 Subject: [PATCH] Mark non-public functions static --- src/osm-db-import.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/osm-db-import.c b/src/osm-db-import.c index 1bb3bf0..c71c421 100644 --- a/src/osm-db-import.c +++ b/src/osm-db-import.c @@ -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 -- 2.39.5