[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Tue Jun 2 02:03:43 UTC 2020


The branch, master has been updated
       via  d47a80c0 Move the CSUM defines.
      from  9dd99521 A few style tweaks.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d47a80c05ecb2d4e8356697e3f71c219a639fecc
Author: Wayne Davison <wayne at opencoder.net>
Date:   Mon Jun 1 18:49:15 2020 -0700

    Move the CSUM defines.

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

Summary of changes:
 checksum.c    | 8 --------
 lib/mdigest.h | 8 ++++++++
 2 files changed, 8 insertions(+), 8 deletions(-)


Changeset truncated at 500 lines:

diff --git a/checksum.c b/checksum.c
index d6a91e7c..d7b2ebdd 100644
--- a/checksum.c
+++ b/checksum.c
@@ -38,14 +38,6 @@ extern int protocol_version;
 extern int proper_seed_order;
 extern const char *checksum_choice;
 
-#define CSUM_NONE 0
-#define CSUM_MD4_ARCHAIC 1
-#define CSUM_MD4_BUSTED 2
-#define CSUM_MD4_OLD 3
-#define CSUM_MD4 4
-#define CSUM_MD5 5
-#define CSUM_XXH64 6
-
 struct name_num_obj valid_checksums = {
 	"checksum", NULL, NULL, 0, 0, {
 #ifdef SUPPORT_XXHASH
diff --git a/lib/mdigest.h b/lib/mdigest.h
index e543d6f3..c3d22baa 100644
--- a/lib/mdigest.h
+++ b/lib/mdigest.h
@@ -11,6 +11,14 @@
 
 #define CSUM_CHUNK 64
 
+#define CSUM_NONE 0
+#define CSUM_MD4_ARCHAIC 1
+#define CSUM_MD4_BUSTED 2
+#define CSUM_MD4_OLD 3
+#define CSUM_MD4 4
+#define CSUM_MD5 5
+#define CSUM_XXH64 6
+
 typedef struct {
 	uint32 A, B, C, D;
 	uint32 totalN;          /* bit count, lower 32 bits */


-- 
The rsync repository.



More information about the rsync-cvs mailing list