summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-25 18:52:15 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:59:52 -0700
commita719bfbeaf5c1956d2ba921c429b47619888b453 (patch)
treee8a48d0afc34f649f93f96fde30de34553ffae87 /core
parent975ef65913754a65d53cc079756a881be9754637 (diff)
downloadsubsurface-a719bfbeaf5c1956d2ba921c429b47619888b453.tar.gz
cleanup: move git-pref declarations into core/pref.h
These seem to be an artifact. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r--core/dive.h3
-rw-r--r--core/pref.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/core/dive.h b/core/dive.h
index 38ef66752..80fde1356 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -219,9 +219,6 @@ extern struct gasmix get_gasmix(const struct dive *dive, const struct divecomput
/* Get gasmix at a given time */
extern struct gasmix get_gasmix_at_time(const struct dive *dive, const struct divecomputer *dc, duration_t time);
-extern void set_informational_units(const char *units);
-extern void set_git_prefs(const char *prefs);
-
extern char *get_dive_date_c_string(timestamp_t when);
extern void update_setpoint_events(const struct dive *dive, struct divecomputer *dc);
diff --git a/core/pref.h b/core/pref.h
index 344308549..90a442b9c 100644
--- a/core/pref.h
+++ b/core/pref.h
@@ -227,6 +227,9 @@ extern bool subsurface_ignore_font(const char *font);
extern void subsurface_OS_pref_setup();
extern void copy_prefs(struct preferences *src, struct preferences *dest);
+extern void set_informational_units(const char *units);
+extern void set_git_prefs(const char *prefs);
+
#ifdef __cplusplus
}
#endif