summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/support/cltkEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/support/cltkEvent.c')
-rw-r--r--otherlibs/labltk/support/cltkEvent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/otherlibs/labltk/support/cltkEvent.c b/otherlibs/labltk/support/cltkEvent.c
index 30bc64e87..fecb4244a 100644
--- a/otherlibs/labltk/support/cltkEvent.c
+++ b/otherlibs/labltk/support/cltkEvent.c
@@ -17,10 +17,11 @@
#include <tcl.h>
#include <tk.h>
-#include <caml/mlvalues.h>
+#include <mlvalues.h>
+#include <alloc.h>
#include "camltk.h"
-value camltk_tk_mainloop() /* ML */
+value camltk_tk_mainloop(void) /* ML */
{
CheckInit();
@@ -42,8 +43,7 @@ static int event_flag_table[] = {
TK_ALL_EVENTS
};
-value camltk_dooneevent(flags) /* ML */
- value flags;
+value camltk_dooneevent(value flags) /* ML */
{
int ret;