From: Linus Torvalds Date: Sat, 10 Sep 2011 22:26:51 +0000 (-0700) Subject: Declare 'update_dive()' properly X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=88dc170af6c1aef2a5c9746f1db53f51c5ae450d;p=ext%2Fsubsurface.git Declare 'update_dive()' properly Avoid a compiler warning.. Signed-off-by: Linus Torvalds --- diff --git a/dive.h b/dive.h index d9fa35a..6191b60 100644 --- a/dive.h +++ b/dive.h @@ -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)