From 88dc170af6c1aef2a5c9746f1db53f51c5ae450d Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 10 Sep 2011 15:26:51 -0700 Subject: [PATCH] Declare 'update_dive()' properly Avoid a compiler warning.. Signed-off-by: Linus Torvalds --- dive.h | 1 + 1 file changed, 1 insertion(+) 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) -- 2.45.2