1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- plugins/ayslx.c.orig 2016-01-13 20:09:57 UTC
+++ plugins/ayslx.c
@@ -17,7 +17,7 @@
#include <string.h>
#include "tcl.h"
#include "errcode.h"
-#include "slx.h"
+#include <slx.h>
/* prototypes: */
@@ -319,8 +319,8 @@ Ayslx_Init(Tcl_Interp *interp)
Tcl_SetVar(interp, vname, vval, TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY);
- Tcl_CreateCommand(interp, "shaderScan", ayslx_scanslxtcmd,
- (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
+ Tcl_CreateCommand(interp, "shaderScan", (Tcl_CmdProc *)ayslx_scanslxtcmd,
+ NULL, NULL);
ay_error(AY_EOUTPUT, fname,
"Plugin 'ayslx' successfully loaded.");
|