From 594d1d3514f91221884bdc31f29a09e8f325f1e8 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 5 Aug 2019 20:07:10 +0200 Subject: Cleanup: move file-related function declarations to file.h A number of architecture-dependent functions were declared in dive.h. Move them to file.h so that not all file-manipulating translation units have to include dive.h. This is a small step in avoiding mass-recompilation on every change to dive.h Signed-off-by: Berthold Stoeger --- core/unix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/unix.c') diff --git a/core/unix.c b/core/unix.c index 5b1cc3720..a867d5013 100644 --- a/core/unix.c +++ b/core/unix.c @@ -3,6 +3,7 @@ /* implements UNIX specific functions */ #include "ssrf.h" #include "dive.h" +#include "file.h" #include "subsurface-string.h" #include "display.h" #include "membuffer.h" @@ -14,6 +15,7 @@ #include #include #include +#include // the DE should provide us with a default font and font size... const char unix_system_divelist_default_font[] = "Sans"; -- cgit v1.2.3-70-g09d2