From: Kovarththanan Rajaratnam Date: Sun, 21 Feb 2010 18:20:59 +0000 (+0100) Subject: cache.c: mark a few variables as static X-Git-Tag: v3.0pre0~63^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61703fee0b2836aa2a970e874750d5c3606b66b0;p=thirdparty%2Fccache.git cache.c: mark a few variables as static --- diff --git a/ccache.c b/ccache.c index 9c29888de..cad794aa1 100644 --- a/ccache.c +++ b/ccache.c @@ -39,19 +39,19 @@ #include /* current working directory taken from $PWD, or getcwd() if $PWD is bad */ -char *current_working_dir; +static char *current_working_dir; /* the base cache directory */ char *cache_dir = NULL; /* the directory for temporary files */ -char *temp_dir = NULL; +static char *temp_dir = NULL; /* the debug logfile name, if set */ char *cache_logfile = NULL; /* base directory (from CCACHE_BASEDIR) */ -char *base_dir; +static char *base_dir; /* the argument list after processing */ static ARGS *stripped_args; @@ -68,7 +68,7 @@ static char *input_file; /* * the hash of the file containing the cached object code (abcdef[...]-size) */ -struct file_hash *object_hash; +static struct file_hash *object_hash; /* * the name of the file containing the cached object code (abcdef[...]-size)