]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Explicitly set values of enum stats since they are important
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 4 Aug 2010 08:39:02 +0000 (10:39 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 4 Aug 2010 08:39:02 +0000 (10:39 +0200)
ccache.h

index a7d6a57e260b79ada514c250bfcf970af97bb053..4bf1f680fd7f5d7a2335cb5acc1bc69e2ae048c4 100644 (file)
--- 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
 };