From 2383fae7ac467a190a8c9493f8eef6fab5cc2b2c Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Sat, 22 Dec 2012 14:45:16 +1030 Subject: [PATCH] common: constify basedir parm and remove cachedir Signed-off-by: Kevin Shanahan --- NQ/quakedef.h | 3 +-- QW/client/quakedef.h | 3 +-- QW/server/qwsvdef.h | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/NQ/quakedef.h b/NQ/quakedef.h index 86fccdf..9326d66 100644 --- a/NQ/quakedef.h +++ b/NQ/quakedef.h @@ -198,8 +198,7 @@ typedef struct { // available for the program to use typedef struct { - char *basedir; - char *cachedir; // for development over ISDN lines + const char *basedir; int argc; const char **argv; void *membase; diff --git a/QW/client/quakedef.h b/QW/client/quakedef.h index d123717..8a9ee3d 100644 --- a/QW/client/quakedef.h +++ b/QW/client/quakedef.h @@ -43,8 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // available for the program to use typedef struct { - char *basedir; - char *cachedir; // for development over ISDN lines + const char *basedir; int argc; const char **argv; void *membase; diff --git a/QW/server/qwsvdef.h b/QW/server/qwsvdef.h index 40f78d3..0896234 100644 --- a/QW/server/qwsvdef.h +++ b/QW/server/qwsvdef.h @@ -43,8 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // available for the program to use typedef struct { - char *basedir; - char *cachedir; // for development over ISDN lines + const char *basedir; int argc; const char **argv; void *membase;