diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-25 19:13:42 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:59:52 -0700 |
commit | b984839836e0ee38fb8e09680d69f34593b9300f (patch) | |
tree | 979d4d49c1e5c60e1e20f92b058b46d64d682bf7 /core | |
parent | a719bfbeaf5c1956d2ba921c429b47619888b453 (diff) | |
download | subsurface-b984839836e0ee38fb8e09680d69f34593b9300f.tar.gz |
cleanup: remove pref.h include in dive.h
If source files want to access preferences functions, they should
include pref.h themselves.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r-- | core/dive.h | 2 | ||||
-rw-r--r-- | core/equipment.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/core/dive.h b/core/dive.h index 80fde1356..40298d85e 100644 --- a/core/dive.h +++ b/core/dive.h @@ -233,6 +233,4 @@ Q_DECLARE_METATYPE(struct dive *); #endif -#include "pref.h" - #endif // DIVE_H diff --git a/core/equipment.c b/core/equipment.c index 323bab3d8..2fab787eb 100644 --- a/core/equipment.c +++ b/core/equipment.c @@ -16,6 +16,7 @@ #include "dive.h" #include "display.h" #include "divelist.h" +#include "pref.h" #include "subsurface-string.h" #include "table.h" |