From: Joel Rosdahl Date: Wed, 4 Aug 2010 08:39:02 +0000 (+0200) Subject: Explicitly set values of enum stats since they are important X-Git-Tag: v3.1~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01fa3dfbf4ff440dabff87788bbab9fd427b877a;p=thirdparty%2Fccache.git Explicitly set values of enum stats since they are important --- diff --git a/ccache.h b/ccache.h index a7d6a57e2..4bf1f680f 100644 --- a/ccache.h +++ b/ccache.h @@ -26,31 +26,31 @@ extern const char CCACHE_VERSION[]; /* statistics fields in storage order */ enum stats { STATS_NONE = 0, - STATS_STDOUT, - STATS_STATUS, - STATS_ERROR, - STATS_TOCACHE, - STATS_PREPROCESSOR, - STATS_COMPILER, - STATS_MISSING, - STATS_CACHEHIT_CPP, - STATS_ARGS, - STATS_LINK, - STATS_NUMFILES, - STATS_TOTALSIZE, - STATS_MAXFILES, - STATS_MAXSIZE, - STATS_SOURCELANG, - STATS_DEVICE, - STATS_NOINPUT, - STATS_MULTIPLE, - STATS_CONFTEST, - STATS_UNSUPPORTED, - STATS_OUTSTDOUT, - STATS_CACHEHIT_DIR, - STATS_NOOUTPUT, - STATS_EMPTYOUTPUT, - STATS_BADEXTRAFILE, + STATS_STDOUT = 1, + STATS_STATUS = 2, + STATS_ERROR = 3, + STATS_TOCACHE = 4, + STATS_PREPROCESSOR = 5, + STATS_COMPILER = 6, + STATS_MISSING = 7, + STATS_CACHEHIT_CPP = 8, + STATS_ARGS = 9, + STATS_LINK = 10, + STATS_NUMFILES = 11, + STATS_TOTALSIZE = 12, + STATS_MAXFILES = 13, + STATS_MAXSIZE = 14, + STATS_SOURCELANG = 15, + STATS_DEVICE = 16, + STATS_NOINPUT = 17, + STATS_MULTIPLE = 18, + STATS_CONFTEST = 19, + STATS_UNSUPPORTED = 20, + STATS_OUTSTDOUT = 21, + STATS_CACHEHIT_DIR = 22, + STATS_NOOUTPUT = 23, + STATS_EMPTYOUTPUT = 24, + STATS_BADEXTRAFILE = 25, STATS_END };