]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Use uint32_t magic/version constants
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 6 Jan 2010 14:01:56 +0000 (15:01 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 6 Jan 2010 21:23:10 +0000 (22:23 +0100)
manifest.c

index b25ab5af7adb98f969234daf5860ef1f7dcce6c8..628ae0955c95001b03ac202fafad53dde272fdf5 100644 (file)
@@ -67,8 +67,8 @@
  * <size[n-1]>
  */
 
-#define MAGIC 0x63436d46U
-#define VERSION 0
+static const uint32_t MAGIC = 0x63436d46U;
+static const uint32_t VERSION = 0;
 
 #define static_assert(e) do { enum { static_assert__ = 1/(e) }; } while (0)