lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 27 lines 778 B view raw
1Taken from: 2http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-action/gltron/files/gltron-0.70-prototypes.patch?revision=1.1&view=markup 3 4scripting.h declares these params as const so make sure they're the same. 5 6--- a/nebu/scripting/scripting.c 7+++ b/nebu/scripting/scripting.c 8@@ -169,16 +169,16 @@ 9 return status; 10 } 11 12-void scripting_RunFile(char *name) { 13+void scripting_RunFile(const char *name) { 14 lua_dofile(L, name); 15 } 16 17-void scripting_Run(char *command) { 18+void scripting_Run(const char *command) { 19 /* fprintf(stderr, "[command] %s\n", command); */ 20 lua_dostring(L, command); 21 } 22 23-void scripting_RunFormat(char *format, ... ) { 24+void scripting_RunFormat(const char *format, ... ) { 25 char buf[4096]; 26 va_list ap; 27 va_start(ap, format);