summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 18:59:51 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 18:59:51 +0200
commit87ec1d2532eb17dfd7f98431bdfa4071be57f683 (patch)
tree7543ac112a660083d05c1b4734ffb7fdc169d656 /lib/crypto
parent01a902f59978cebdab22aaee7d9e0c9bb78bc649 (diff)
downloadsamba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.gz
samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.bz2
samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.zip
Make sure prototypes are always included, make some functions static and
remove some unused functions.
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/crc32.c1
-rw-r--r--lib/crypto/md4.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto/crc32.c b/lib/crypto/crc32.c
index 5b9d9b108d..e6cc529767 100644
--- a/lib/crypto/crc32.c
+++ b/lib/crypto/crc32.c
@@ -41,6 +41,7 @@
*/
#include "includes.h"
+#include "../lib/crypto/crc32.h"
static const uint32_t crc32_tab[] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
diff --git a/lib/crypto/md4.c b/lib/crypto/md4.c
index 7ad93ce786..aea2c821c5 100644
--- a/lib/crypto/md4.c
+++ b/lib/crypto/md4.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "../lib/crypto/md4.h"
/* NOTE: This code makes no attempt to be fast!