summaryrefslogtreecommitdiffstats
path: root/source/lib
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
commit16b6c3e852dbc7b4460abc461b4e0a8dc315fd60 (patch)
treeb5ae1d9b0af1bdcc4e1d8b51aadbdfe409ee6533 /source/lib
parent3fd28812f75f2311a114ff905143634e3bbb1fac (diff)
downloadsamba-16b6c3e852dbc7b4460abc461b4e0a8dc315fd60.tar.gz
samba-16b6c3e852dbc7b4460abc461b4e0a8dc315fd60.tar.xz
samba-16b6c3e852dbc7b4460abc461b4e0a8dc315fd60.zip
got rid of the memcpy() prototype and used includes.h instead.
gcc has a built-in memcpy which conflicts with the prototype.
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/md4.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/lib/md4.c b/source/lib/md4.c
index f0050ee6476..30f2b6b8c6b 100644
--- a/source/lib/md4.c
+++ b/source/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)