summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-05-10 22:18:37 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-11 01:57:41 -0700
commit9e8c0c936645e9cd5b9f0a34f305cdcf81f2ed2c (patch)
treef68578a3f787045c0a6288f289f297308651573e /dive.c
parent25e0fdcb162d9ede9a4a49b36d05f0b77ece1056 (diff)
downloadsubsurface-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.c')
-rw-r--r--dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.c b/dive.c
index 9c3ab79b2..0c4b91fb3 100644
--- a/dive.c
+++ b/dive.c
@@ -955,7 +955,7 @@ struct dive *fixup_dive(struct dive *dive)
weightsystem_t *ws = dive->weightsystem + i;
add_weightsystem_description(ws);
}
- dive->id = getUniqID(dive);
+ dive->id = dive_getUniqID(dive);
return dive;
}