X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgps.c;h=210c29344c18e263e4ae1ddc4138f96b7d76da72;hb=267bbc64779f9c7b32e063aac0df22be61bda6ae;hp=a4b3e2e73e0d00bca199f63b34d694cdf50ad5d1;hpb=f7e2d82c4d016df72c55e85bb9c5bc9ba08d5f91;p=collectd.git diff --git a/src/gps.c b/src/gps.c index a4b3e2e7..210c2934 100644 --- a/src/gps.c +++ b/src/gps.c @@ -226,7 +226,7 @@ static int cgps_read(void) { cgps_submit("satellites", data_copy.sats_used, "used"); cgps_submit("satellites", data_copy.sats_visible, "visible"); - return (0); + return 0; } /** @@ -262,7 +262,7 @@ static int cgps_config(oconfig_item_t *ci) { cgps_config_data.timeout = CGPS_DEFAULT_TIMEOUT; } - return (0); + return 0; } /** @@ -286,10 +286,10 @@ static int cgps_init(void) { plugin_thread_create(&cgps_thread_id, NULL, cgps_thread, NULL, "gps"); if (status != 0) { ERROR("gps plugin: pthread_create() failed."); - return (-1); + return -1; } - return (0); + return 0; } /** @@ -315,7 +315,7 @@ static int cgps_shutdown(void) { sfree(cgps_config_data.port); sfree(cgps_config_data.host); - return (0); + return 0; } /**