summaryrefslogtreecommitdiffstats
path: root/src/scripting/bindings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripting/bindings.h')
-rw-r--r--src/scripting/bindings.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scripting/bindings.h b/src/scripting/bindings.h
index 4ad7386..725580b 100644
--- a/src/scripting/bindings.h
+++ b/src/scripting/bindings.h
@@ -19,11 +19,9 @@
#ifndef _SCRIPTING_BINDINGS_H_
#define _SCRIPTING_BINDINGS_H_
-#ifndef _SCRIPTING_BINDINGS_C_
-extern struct ffi_namespace *top_ns;
-#endif
+#include "ffi.h"
void bindings_init(void);
-void bindings_viewport_init(void);
+void bindings_viewport_init(struct ffi_namespace *top_ns);
#endif