From ac59939dadf3a1679650ada33db1070f31e2df93 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 9 Aug 2016 13:51:46 +0200 Subject: [PATCH] gps plugin: fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit gps.c:242:12: warning: function declaration isn’t a prototype [-Wstrict-prototypes] static int cgps_read () ^~~~~~~~~ gps.c: In function ‘cgps_read’: gps.c:242:12: warning: old-style function definition [-Wold-style-definition] --- src/gps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gps.c b/src/gps.c index 04de5aa9..19f317cb 100644 --- a/src/gps.c +++ b/src/gps.c @@ -239,7 +239,7 @@ static void cgps_submit (const char *type, gauge_t value, const char *type_insta /** * Read the data and submit by piece. */ -static int cgps_read () +static int cgps_read (void) { cgps_data_t data_copy; -- 2.11.0