From 031055a91f50b75b5727491fa85830b2ded8f4f1 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 24 Aug 2010 16:48:49 +0900 Subject: [PATCH] Move the qfs_* cvars out of quakefs.h The qfs cvars are all private. --- include/QF/quakefs.h | 3 --- libs/util/quakefs.c | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/include/QF/quakefs.h b/include/QF/quakefs.h index 090eb5162..b5281b37f 100644 --- a/include/QF/quakefs.h +++ b/include/QF/quakefs.h @@ -68,9 +68,6 @@ typedef void gamedir_callback_t (int phase); extern gamedir_t *qfs_gamedir; -extern struct cvar_s *fs_sharepath; -extern struct cvar_s *fs_userpath; - extern const char *qfs_userpath; extern int file_from_pak; diff --git a/libs/util/quakefs.c b/libs/util/quakefs.c index 8b0deba88..ef49eae25 100644 --- a/libs/util/quakefs.c +++ b/libs/util/quakefs.c @@ -125,9 +125,9 @@ int fnmatch (const char *__pattern, const char *__string, int __flags); // QUAKE FILESYSTEM -cvar_t *fs_userpath; -cvar_t *fs_sharepath; -cvar_t *fs_dirconf; +static cvar_t *fs_userpath; +static cvar_t *fs_sharepath; +static cvar_t *fs_dirconf; VISIBLE const char *qfs_userpath;