Declare 'update_dive()' properly

Avoid a compiler warning..

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2011-09-10 15:26:51 -07:00
parent b17c7f0709
commit 88dc170af6

1
dive.h
View file

@ -181,6 +181,7 @@ extern void flush_dive_info_changes(struct dive *);
extern void show_dive_equipment(struct dive *);
extern void flush_dive_equipment_changes(struct dive *);
extern void update_dive(struct dive *new_dive);
extern void save_dives(const char *filename);
static inline unsigned int dive_size(int samples)