diff options
author | Sebastian Leske <sebastian.leske@sleske.name> | 2017-09-22 22:09:07 +0200 |
---|---|---|
committer | Sebastian Leske <sebastian.leske@sleske.name> | 2017-09-22 22:09:07 +0200 |
commit | 4fd96b2cb6ff58334f7085af416b4376e2519818 (patch) | |
tree | 92a58bbfd4fa1ae271011a22d2545c35e9232afd | |
parent | 18a68029c3bd76a215cdb0dbc73a215e9892460e (diff) | |
download | navit-4fd96b2cb6ff58334f7085af416b4376e2519818.tar.gz |
Fix:core:Fix warnings from -Wstrict-prototypes
-rw-r--r-- | navit/maptool/maptool.c | 2 | ||||
-rw-r--r-- | navit/navigation.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/navit/maptool/maptool.c b/navit/maptool/maptool.c index 63302ebda..2d35fe516 100644 --- a/navit/maptool/maptool.c +++ b/navit/maptool/maptool.c @@ -267,7 +267,7 @@ maptool_init(FILE* rule_file) } static void -usage() +usage(void) { FILE *f = stdout; /* DEVELOPERS : don't forget to update the manpage if you modify theses options */ diff --git a/navit/navigation.c b/navit/navigation.c index 099f71c52..0812093d1 100644 --- a/navit/navigation.c +++ b/navit/navigation.c @@ -969,7 +969,7 @@ round_distance(int dist) * @return value with the highest distance. */ static int -distance_set_last() +distance_set_last(void) { static int i=0; if (i == 0) { |