mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d1b30212ff
commit
6538e5bba0
3 changed files with 13 additions and 4 deletions
1
dive.h
1
dive.h
|
@ -128,6 +128,7 @@ struct sample {
|
|||
#define MAX_CYLINDERS (8)
|
||||
|
||||
struct dive {
|
||||
int nr;
|
||||
time_t when;
|
||||
char *location;
|
||||
char *notes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue