commit 85d5f5971a2c444aa943240f61c3bef5bb4972d5
parent 30e2a5df4587c736d65ee91af575876c7186756d
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Tue, 21 Aug 2018 11:53:16 +0200
Move the typedef for "u32" from utils.h to md5.h, since it is only used there.
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/common/md5.h b/src/common/md5.h
@@ -23,6 +23,12 @@
#include "utils.h"
+#ifndef HAVE_U32_TYPEDEF
+ #undef u32 /* maybe there is a macro with this name */
+ typedef guint32 u32;
+ #define HAVE_U32_TYPEDEF
+#endif
+
typedef struct { /* Hmm, should be private */
u32 A,B,C,D;
u32 nblocks;
diff --git a/src/common/utils.h b/src/common/utils.h
@@ -68,12 +68,6 @@ typedef gint64 goffset;
#define G_MAXOFFSET G_MAXINT64
#endif
-#ifndef HAVE_U32_TYPEDEF
- #undef u32 /* maybe there is a macro with this name */
- typedef guint32 u32;
- #define HAVE_U32_TYPEDEF
-#endif
-
#ifndef BIG_ENDIAN_HOST
#if (G_BYTE_ORDER == G_BIG_ENDIAN)
#define BIG_ENDIAN_HOST 1