aboutsummaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-11 11:36:33 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-11 11:36:33 -0700
commit6538e5bba00b51a7253b6cff927c8774f1b39e2b (patch)
treeb6e322faaf26895c6b2ef2b8d399f1dabb78eebb /dive.h
parentd1b30212ff7192ef1b3fa85924433a8ddd92c281 (diff)
downloadsubsurface-6538e5bba00b51a7253b6cff927c8774f1b39e2b.tar.gz
Save and restore a "dive number"
Some people want to know how many dives they have under their belt, so let's save and restore the dive number if it exists. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 6191b60b9..3b5e5abd7 100644
--- a/dive.h
+++ b/dive.h
@@ -128,6 +128,7 @@ struct sample {
#define MAX_CYLINDERS (8)
struct dive {
+ int nr;
time_t when;
char *location;
char *notes;