]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Declare 'update_dive()' properly
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 10 Sep 2011 22:26:51 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 10 Sep 2011 22:26:51 +0000 (15:26 -0700)
Avoid a compiler warning..

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
dive.h

diff --git a/dive.h b/dive.h
index d9fa35abf88997f76143ff8b0130cb7ca3acc17f..6191b60b9179d2fcde0847cde6efcdbf36ead229 100644 (file)
--- 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)