diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-05-10 22:18:37 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-11 01:57:41 -0700 |
commit | 9e8c0c936645e9cd5b9f0a34f305cdcf81f2ed2c (patch) | |
tree | f68578a3f787045c0a6288f289f297308651573e /dive.h | |
parent | 25e0fdcb162d9ede9a4a49b36d05f0b77ece1056 (diff) | |
download | subsurface-9e8c0c936645e9cd5b9f0a34f305cdcf81f2ed2c.tar.gz |
Prefix a method with 'dive_' because it should work only with dives
I'll probably add prefixes to functions to make it easier to find method
via autocomplete from the grep or interface helpers, do you wanna know all
the functions that works with a dive? ask for the completion for dive_,
do you wanna know all the functions that works with a divelist? ask for
the completions on divelist_ or run grep -rIs divelist_ on the header
files.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -525,7 +525,7 @@ extern bool has_hr_data(struct divecomputer *dc); extern void sort_table(struct dive_table *table); extern struct dive *fixup_dive(struct dive *dive); -extern int getUniqID(struct dive *d); +extern int dive_getUniqID(struct dive *d); extern unsigned int dc_airtemp(struct divecomputer *dc); extern unsigned int dc_watertemp(struct divecomputer *dc); extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer_downloaded); |