diff options
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/cmd.c | 2 | ||||
-rw-r--r-- | code/qcommon/files.c | 4 | ||||
-rw-r--r-- | code/qcommon/unzip.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/code/qcommon/cmd.c b/code/qcommon/cmd.c index 0f1178b..92b6e73 100644 --- a/code/qcommon/cmd.c +++ b/code/qcommon/cmd.c @@ -422,7 +422,7 @@ For rcon use when you want to transmit without altering quoting https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=543 ============ */ -char *Cmd_Cmd() +char *Cmd_Cmd(void) { return cmd_cmd; } diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 3537fff..632695f 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -321,7 +321,7 @@ FS_Initialized ============== */ -qboolean FS_Initialized() { +qboolean FS_Initialized( void ) { return (fs_searchpaths != NULL); } @@ -354,7 +354,7 @@ FS_LoadStack return load stack ================= */ -int FS_LoadStack() +int FS_LoadStack( void ) { return fs_loadStack; } diff --git a/code/qcommon/unzip.c b/code/qcommon/unzip.c index 6522ec7..6d45492 100644 --- a/code/qcommon/unzip.c +++ b/code/qcommon/unzip.c @@ -235,7 +235,7 @@ typedef Byte *voidp; #define Z_DEFLATED 8 /* The deflate compression method (the only one supported in this version) */ -#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ +#define Z_NULL (void *)0 /* for initializing zalloc, zfree, opaque */ #define zlib_version zlibVersion() /* for compatibility with versions < 1.0.2 */ |