Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=6c2d5204d1e1c19f4bb5a553645dfe19ec85d9ad

commit 6c2d5204d1e1c19f4bb5a553645dfe19ec85d9ad
Author: Michel Hermier <herm...@frugalware.org>
Date:   Wed May 15 18:27:52 2013 +0200

libflib: Fix sha1 compilation ... oups!

diff --git a/lib/libflib/fsha1.c b/lib/libflib/fsha1.c
index 2daaef7..ad1ce77 100644
--- a/lib/libflib/fsha1.c
+++ b/lib/libflib/fsha1.c
@@ -26,8 +26,6 @@
# include <config.h>
#endif

-#include "fsha1.h"
-
#include <sys/types.h>

#include <limits.h>
@@ -35,6 +33,10 @@
#include <string.h>
#include <time.h>

+#include "fsha1.h"
+
+#include "fstdlib.h"
+
#define rol(x,n) ( ((x) << (n)) | ((x) >> (32 -(n))) )
/* The code below is from md5.h (from coreutils), little modifications */
#define UINT_MAX_32_BITS 4294967295U
@@ -414,5 +416,5 @@ FSHA1 *f_sha1_new () {
}

void f_sha1_delete (FSHA1 *sha1) {
-  f_free_sha1;
+  f_free (sha1);
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to