aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-23 17:39:14 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-23 17:39:14 +0000
commit4bfc084c4974ecff94e273a7608ebc38f1c046ab (patch)
treec22cc0f88365f625da447e3609cc1951fb7590eb /code/qcommon
parent4b080c5906fdb1f7ee4e7fe5fdf2375dfcdf5ff4 (diff)
downloadioquake3-aero-4bfc084c4974ecff94e273a7608ebc38f1c046ab.tar.gz
ioquake3-aero-4bfc084c4974ecff94e273a7608ebc38f1c046ab.zip
* Applied ajax's cleanup patch
git-svn-id: svn://svn.icculus.org/quake3/trunk@101 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/cmd.c2
-rw-r--r--code/qcommon/files.c4
-rw-r--r--code/qcommon/unzip.c2
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 */