summaryrefslogtreecommitdiff
path: root/src/fontcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontcache.h')
-rw-r--r--src/fontcache.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/fontcache.h b/src/fontcache.h
index b26eaa298..df425886f 100644
--- a/src/fontcache.h
+++ b/src/fontcache.h
@@ -154,15 +154,9 @@ struct FreeTypeSettings {
extern FreeTypeSettings _freetype;
+#endif /* WITH_FREETYPE */
+
void InitFreeType(bool monospace);
void UninitFreeType();
-#else
-
-/* Stub for initializiation */
-static inline void InitFreeType(bool monospace) {}
-static inline void UninitFreeType() {}
-
-#endif /* WITH_FREETYPE */
-
#endif /* FONTCACHE_H */