summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 42b5f771d..e45d962ff 100644
--- a/dive.h
+++ b/dive.h
@@ -394,6 +394,8 @@ extern void show_dive_equipment(struct dive *, int w_idx);
extern void show_dive_stats(struct dive *);
+extern void show_yearly_stats(void);
+
extern void update_dive(struct dive *new_dive);
extern void save_dives(const char *filename);
@@ -462,4 +464,6 @@ extern const char *star_strings[];
#define AIR_PERMILLE 209
+#define FRACTION(n,x) ((unsigned)(n)/(x)),((unsigned)(n)%(x))
+
#endif /* DIVE_H */