diff --git a/example.c b/example.c index 68fb873..0955be3 100644 --- a/example.c +++ b/example.c @@ -12,7 +12,7 @@ #include "minmea.h" -int main() +int main(void) { char line[MINMEA_MAX_LENGTH]; while (fgets(line, sizeof(line), stdin) != NULL) { diff --git a/tests.c b/tests.c index e5fd45b..a503c3c 100644 --- a/tests.c +++ b/tests.c @@ -754,7 +754,7 @@ Suite *minmea_suite(void) return s; } -int main() +int main(void) { int number_failed; Suite *s = minmea_suite();