[Commits] [SCM] claws branch, master, updated. 3.17.0-9-g85d5f59

ticho at claws-mail.org ticho at claws-mail.org
Tue Aug 21 11:53:43 CEST 2018


The branch, master has been updated
       via  85d5f5971a2c444aa943240f61c3bef5bb4972d5 (commit)
      from  30e2a5df4587c736d65ee91af575876c7186756d (commit)

Summary of changes:
 src/common/md5.h   |    6 ++++++
 src/common/utils.h |    6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit 85d5f5971a2c444aa943240f61c3bef5bb4972d5
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Tue Aug 21 11:53:16 2018 +0200

    Move the typedef for "u32" from utils.h to md5.h, since it is only used there.

diff --git a/src/common/md5.h b/src/common/md5.h
index 90cc63a..bf82fd7 100644
--- 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
index a1f356e..c09032f 100644
--- 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

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list