summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-17 13:52:45 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-17 15:11:31 -0700
commit8bbc375fab7f2e34f1877126298209d7d1b04da0 (patch)
treef16b919e048d4ecfadb718c09dac8aa227645cf6 /core/dive.h
parent6a6c62ecf5f007533f85ecb029a0c57168ec926c (diff)
downloadsubsurface-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.h4
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);