talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 4f8b9327298a9f6d094a6d34b255bb78cbba9788
parent ebb399a07f46651dc9fdc19f729acb72c6922ca8
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:
Msrc/common/md5.h | 6++++++
Msrc/common/utils.h | 6------
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