diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-03-17 13:52:45 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-03-17 15:11:31 -0700 |
commit | 8bbc375fab7f2e34f1877126298209d7d1b04da0 (patch) | |
tree | f16b919e048d4ecfadb718c09dac8aa227645cf6 /core/dive.h | |
parent | 6a6c62ecf5f007533f85ecb029a0c57168ec926c (diff) | |
download | subsurface-8bbc375fab7f2e34f1877126298209d7d1b04da0.tar.gz |
Core: remove variable name conflict
Having a parameter with the same name as a global variable is potentially
confusing.
Found via LGTM.com
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/dive.h b/core/dive.h index fc14a7661..4773d3157 100644 --- a/core/dive.h +++ b/core/dive.h @@ -410,8 +410,8 @@ extern void add_dive_to_trip(struct dive *, dive_trip_t *); struct dive *unregister_dive(int idx); extern void delete_single_dive(int idx); -extern void insert_trip(dive_trip_t *trip, struct trip_table *trip_table); -extern void unregister_trip(dive_trip_t *trip, struct trip_table *trip_table); +extern void insert_trip(dive_trip_t *trip, struct trip_table *trip_table_arg); +extern void unregister_trip(dive_trip_t *trip, struct trip_table *trip_table_arg); extern void free_trip(dive_trip_t *trip); extern timestamp_t trip_date(const struct dive_trip *trip); |