summaryrefslogtreecommitdiffstats
path: root/core/linux.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2018-06-20 21:45:53 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-21 06:28:39 +0900
commitdcb663e4073500030f86dcdc2643da16b4064ed5 (patch)
treeeb54f291f8dd08475a08f09cef94d944b14dcaff /core/linux.c
parent38bf351cc180b776172229d2144510cec21d5bcb (diff)
downloadsubsurface-dcb663e4073500030f86dcdc2643da16b4064ed5.tar.gz
Revert "cleanup: remove empty function"
This broke our hook to plumb in our usb open function into libusb, so this broke ftdi based downloads. This reverts commit e4530cd5ef38e6120f451daf1a758b38b70a6f1c. Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'core/linux.c')
-rw-r--r--core/linux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/linux.c b/core/linux.c
index 446bbeaa1..b8d88e9e5 100644
--- a/core/linux.c
+++ b/core/linux.c
@@ -20,6 +20,11 @@ const char linux_system_divelist_default_font[] = "Sans";
const char *system_divelist_default_font = linux_system_divelist_default_font;
double system_divelist_default_font_size = -1.0;
+void subsurface_OS_pref_setup(void)
+{
+ // nothing
+}
+
bool subsurface_ignore_font(const char *font)
{
// there are no old default fonts to ignore