diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
commit | 36bb92ae241403d61dc7a3e5a1696b615be61395 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/console.h | |
parent | a69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (diff) | |
download | openttd-36bb92ae241403d61dc7a3e5a1696b615be61395.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/console.h')
-rw-r--r-- | src/console.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/console.h b/src/console.h index da672a5b5..5734a148b 100644 --- a/src/console.h +++ b/src/console.h @@ -37,7 +37,7 @@ typedef enum IConsoleHookTypes { * access, before execution/change or after execution/change. This allows * for general flow of permissions or special action needed in some cases */ -typedef bool IConsoleHook(void); +typedef bool IConsoleHook(); typedef struct IConsoleHooks{ IConsoleHook *access; ///< trigger when accessing the variable/command IConsoleHook *pre; ///< trigger before the variable/command is changed/executed @@ -117,13 +117,13 @@ VARDEF byte _icolour_cmd; VARDEF IConsoleModes _iconsole_mode; /* console functions */ -void IConsoleInit(void); -void IConsoleFree(void); -void IConsoleClearBuffer(void); +void IConsoleInit(); +void IConsoleFree(); +void IConsoleClearBuffer(); void IConsoleResize(Window *w); -void IConsoleSwitch(void); -void IConsoleClose(void); -void IConsoleOpen(void); +void IConsoleSwitch(); +void IConsoleClose(); +void IConsoleOpen(); /* console output */ void IConsolePrint(uint16 color_code, const char *string); @@ -150,7 +150,7 @@ void IConsoleCmdExec(const char *cmdstr); void IConsoleVarExec(const IConsoleVar *var, byte tokencount, char *token[]); /* console std lib (register ingame commands/aliases/variables) */ -void IConsoleStdLibRegister(void); +void IConsoleStdLibRegister(); /* Hooking code */ void IConsoleCmdHookAdd(const char *name, IConsoleHookTypes type, IConsoleHook *proc); |