/[gentoo-x86]/games-action/gltron/files/gltron-0.70-prototypes.patch
Gentoo

Contents of /games-action/gltron/files/gltron-0.70-prototypes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 30 04:37:47 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Fix CFLAGS breakage and sync some mismatched prototypes.
(Portage version: 2.0.51.22-r2)

1 scripting.h declares these params as const so make sure they're the same.
2
3 --- nebu/scripting/scripting.c
4 +++ nebu/scripting/scripting.c
5 @@ -169,16 +169,16 @@
6 return status;
7 }
8
9 -void scripting_RunFile(char *name) {
10 +void scripting_RunFile(const char *name) {
11 lua_dofile(L, name);
12 }
13
14 -void scripting_Run(char *command) {
15 +void scripting_Run(const char *command) {
16 /* fprintf(stderr, "[command] %s\n", command); */
17 lua_dostring(L, command);
18 }
19
20 -void scripting_RunFormat(char *format, ... ) {
21 +void scripting_RunFormat(const char *format, ... ) {
22 char buf[4096];
23 va_list ap;
24 va_start(ap, format);

  ViewVC Help
Powered by ViewVC 1.1.20