diff options
author | Sebastian Leske <sebastian.leske@sleske.name> | 2017-09-22 22:05:48 +0200 |
---|---|---|
committer | Sebastian Leske <sebastian.leske@sleske.name> | 2017-09-22 22:05:48 +0200 |
commit | 18a68029c3bd76a215cdb0dbc73a215e9892460e (patch) | |
tree | a8b9eee5871c1a7d501afc3e51b7856cfdf18699 /navit/navigation.c | |
parent | 314942a0470403d482e5e5adfa1d6b9ad7185515 (diff) | |
download | navit-18a68029c3bd76a215cdb0dbc73a215e9892460e.tar.gz |
Fix:core:Fix warnings from -Wmissing-prototypes
Diffstat (limited to 'navit/navigation.c')
-rw-r--r-- | navit/navigation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/navigation.c b/navit/navigation.c index 964b6bf17..099f71c52 100644 --- a/navit/navigation.c +++ b/navit/navigation.c @@ -2353,7 +2353,7 @@ maneuver_required2 (struct navigation *nav, struct navigation_itm *old, struct n * @return The adjusted delta, which is numerically within +/-180 degrees of the reference. If {@code delta} or {@code reference} * are outside of their specified range, the result is undefined. */ -int adjust_delta(int delta, int reference) { +static int adjust_delta(int delta, int reference) { if ((delta >= 0) && (delta - reference) > 180) { dbg(lvl_debug,"adjusting delta from %d to %d\n", delta, delta - 360); return delta - 360; @@ -2402,7 +2402,7 @@ int adjust_delta(int delta, int reference) { * this function * @param itm The navigation item for the maneuver to exit the roundabout */ -void navigation_analyze_roundabout(struct navigation *this_, struct navigation_command *cmd, struct navigation_itm *itm) { +static void navigation_analyze_roundabout(struct navigation *this_, struct navigation_command *cmd, struct navigation_itm *itm) { enum item_type r = type_none, l = type_none; int len = 0; /* length of roundabout segment */ int roundabout_length; /* estimated total length of roundabout */ |