From: Kaj-Michael Lang Date: Fri, 10 Aug 2007 07:59:23 +0000 (+0300) Subject: Silence warnings. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b33a33c3eb7a8bb6d787a2ca0d852e2e740dca5;p=mapper Silence warnings. --- diff --git a/src/gpx.c b/src/gpx.c index 3971be7..628bbb7 100644 --- a/src/gpx.c +++ b/src/gpx.c @@ -54,6 +54,7 @@ #include "gps.h" #include "mapper-types.h" #include "gpx.h" +#include "path.h" #define XML_DATE_FORMAT "%FT%T" @@ -437,7 +438,7 @@ gpx_chars(SaxData * data, const xmlChar * ch, int len) * Handle an entity in the parsing of a GPX file. We don't do anything * special here. */ -xmlEntityPtr +static xmlEntityPtr gpx_get_entity(SaxData * data, const xmlChar * name) { vprintf("%s()\n", __PRETTY_FUNCTION__); @@ -448,7 +449,7 @@ gpx_get_entity(SaxData * data, const xmlChar * name) /** * Handle an error in the parsing of a GPX file. */ -void +static void gpx_error(SaxData * data, const gchar * msg, ...) { vprintf("%s()\n", __PRETTY_FUNCTION__); diff --git a/src/gpx.h b/src/gpx.h index 7b0dc98..11c85cb 100644 --- a/src/gpx.h +++ b/src/gpx.h @@ -3,5 +3,7 @@ void gpx_init(void); gboolean write_gpx(Path * path, GnomeVFSHandle * handle); +gboolean parse_gpx(Path * to_replace, gchar * buffer, gint size, gint policy_old); + #endif