51a02b6c80
- Render the map directly from SVG (#1335158) - Fix memory leaks in tz.c - Fix an invalid memory access - Do not modify TZ in the process environment - Move all data files to /usr/share/libtimezonemap from .../libtimezonemap/ui - Add extra city data so all timezone offsets are clickable - Move Venezuela from -04:30 to -04:00 - Fix the conversion of points just west of 180 longitude - Remove the out-of-date Olson map data - Update the "backward" file - Improve the location selected when setting the timezone by name (#1322648) - Remove an extra line in the +10:00 layer - Move Chile back an hour
53 lines
1.6 KiB
Diff
53 lines
1.6 KiB
Diff
From cfab41ba625306ecf2ebd93340c6e5f27dec2e03 Mon Sep 17 00:00:00 2001
|
|
From: David Shea <dshea@redhat.com>
|
|
Date: Fri, 8 Apr 2016 10:37:52 -0400
|
|
Subject: [PATCH 15/24] Make all private functions in tz.c static
|
|
|
|
---
|
|
src/tz.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/src/tz.c b/src/tz.c
|
|
index 30f688d..7c216fa 100644
|
|
--- a/src/tz.c
|
|
+++ b/src/tz.c
|
|
@@ -40,7 +40,7 @@ static int compare_country_names (const void *a, const void *b);
|
|
static void sort_locations_by_country (GPtrArray *locations);
|
|
static const gchar * tz_data_file_get (const gchar *env, const gchar *defaultfile);
|
|
|
|
-void parse_file (const char * filename,
|
|
+static void parse_file (const char * filename,
|
|
const guint ncolumns,
|
|
GFunc func,
|
|
gpointer user_data)
|
|
@@ -65,7 +65,7 @@ void parse_file (const char * filename,
|
|
fclose (fh);
|
|
}
|
|
|
|
-void parse_admin1Codes (gpointer parsed_data,
|
|
+static void parse_admin1Codes (gpointer parsed_data,
|
|
gpointer user_data)
|
|
{
|
|
gchar ** parsed_data_v = (gchar **) parsed_data;
|
|
@@ -79,7 +79,7 @@ void parse_admin1Codes (gpointer parsed_data,
|
|
|
|
}
|
|
|
|
-void parse_countrycode (gpointer parsed_data,
|
|
+static void parse_countrycode (gpointer parsed_data,
|
|
gpointer user_data)
|
|
{
|
|
gchar ** parsed_data_v = (gchar **) parsed_data;
|
|
@@ -98,7 +98,7 @@ typedef struct Triple {
|
|
gpointer third;
|
|
} Triple;
|
|
|
|
-void parse_cities15000 (gpointer parsed_data,
|
|
+static void parse_cities15000 (gpointer parsed_data,
|
|
gpointer user_data)
|
|
{
|
|
gchar ** parsed_data_v = (gchar **) parsed_data;
|
|
--
|
|
2.5.5
|
|
|