aboutsummaryrefslogtreecommitdiffstats
path: root/yage/yage.h
diff options
context:
space:
mode:
Diffstat (limited to 'yage/yage.h')
-rw-r--r--yage/yage.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/yage/yage.h b/yage/yage.h
index 286d4784..f20aff06 100644
--- a/yage/yage.h
+++ b/yage/yage.h
@@ -50,19 +50,13 @@ namespace yage
*
* @return Returns true if the initialization was successful.
*/
-bool init()
-{
- return SDL_Init(SDL_INIT_VIDEO);
-}
+extern bool init();
/** Quit and cleanup yage
*
* SDL2 needs to clean itself up.
*/
-void quit()
-{
- SDL_Quit();
-}
+extern void quit();
} // namespace yage