mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
c9624da733
PR: 60266 Submitted by: Ports Fury
23 lines
605 B
C
23 lines
605 B
C
--- nebu/scripting/scripting.c.orig Fri Dec 12 18:05:55 2003
|
|
+++ nebu/scripting/scripting.c Mon Dec 15 22:43:04 2003
|
|
@@ -169,16 +169,16 @@
|
|
return status;
|
|
}
|
|
|
|
-void scripting_RunFile(char *name) {
|
|
+void scripting_RunFile(const char *name) {
|
|
lua_dofile(L, name);
|
|
}
|
|
|
|
-void scripting_Run(char *command) {
|
|
+void scripting_Run(const char *command) {
|
|
/* fprintf(stderr, "[command] %s\n", command); */
|
|
lua_dostring(L, command);
|
|
}
|
|
|
|
-void scripting_RunFormat(char *format, ... ) {
|
|
+void scripting_RunFormat(const char *format, ... ) {
|
|
char buf[4096];
|
|
va_list ap;
|
|
va_start(ap, format);
|