Code

gps plugin: fix compiler warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 9 Aug 2016 11:51:46 +0000 (13:51 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 9 Aug 2016 11:52:25 +0000 (13:52 +0200)
commitac59939dadf3a1679650ada33db1070f31e2df93
tree651322bb16b703ecee4fcebec832964489e6b843
parent7491350ab6771e9125284b49e25945063dc16ead
gps plugin: fix compiler warning

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