[grilo-plugins] tests: Fix static vs. non-static declaration warning
- From: Mathias Hasselmann <hasselmm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tests: Fix static vs. non-static declaration warning
- Date: Tue, 8 Jan 2013 11:03:14 +0000 (UTC)
commit 0d230f2fdf99a90ca9ea3c9cf058c0a75d9ed3bf
Author: Mathias Hasselmann <mathias openismus com>
Date: Tue Jan 8 12:02:34 2013 +0100
tests: Fix static vs. non-static declaration warning
test/test_tmdb_full_resolution.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/test/test_tmdb_full_resolution.c b/test/test_tmdb_full_resolution.c
index f3ed4f5..a4f904d 100644
--- a/test/test_tmdb_full_resolution.c
+++ b/test/test_tmdb_full_resolution.c
@@ -27,8 +27,6 @@
#define TMDB_PLUGIN_ID "grl-tmdb"
-const char *iso_date (const GDateTime *date, char **strbuf);
-
/** Compare the floats.
* A simple == will fail on values that are effectively the same,
* due to rounding issues.
@@ -40,7 +38,8 @@ compare_floats(gfloat a, gfloat b)
return fabs(a - b) < DBL_EPSILON;
}
-static const char *iso_date (const GDateTime *date, char **strbuf)
+static const char*
+iso_date (const GDateTime *date, char **strbuf)
{
if (*strbuf)
g_free (*strbuf);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]