summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-29 00:11:27 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-29 00:11:27 +0000
commitb8980c2d1b57ee982a140aae2f500ce08d01ca72 (patch)
treec7463810fa1d89856a061a9ae5b367337db1b4b2 /source3
parent008fd973097303ac984cd7c004e3dea67d54813d (diff)
downloadsamba-b8980c2d1b57ee982a140aae2f500ce08d01ca72.tar.gz
samba-b8980c2d1b57ee982a140aae2f500ce08d01ca72.tar.bz2
samba-b8980c2d1b57ee982a140aae2f500ce08d01ca72.zip
got rid of the memcpy() prototype and used includes.h instead.
gcc has a built-in memcpy which conflicts with the prototype. (This used to be commit 16b6c3e852dbc7b4460abc461b4e0a8dc315fd60)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/md4.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/lib/md4.c b/source3/lib/md4.c
index f0050ee647..30f2b6b8c6 100644
--- a/source3/lib/md4.c
+++ b/source3/lib/md4.c
@@ -19,15 +19,13 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-void *memcpy (void *, void *, unsigned int);
+#include "includes.h"
/* NOTE: This code makes no attempt to be fast!
It assumes that a int is at least 32 bits long
*/
-typedef unsigned int uint32;
-
static uint32 A, B, C, D;
static uint32 F(uint32 X, uint32 Y, uint32 Z)