Skip to content

Commit

Permalink
added #include <string.h> to fix these errors:
Browse files Browse the repository at this point in the history
$ gcc -o telnetenable md5.c blowfish.c telnetenable.c
md5.c: In function ‘MD5Update’:
md5.c:75: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c:78: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c:86: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c:93: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c: In function ‘MD5Final’:
md5.c:113: warning: incompatible implicit declaration of built-in function ‘memset’
md5.c:119: warning: incompatible implicit declaration of built-in function ‘memset’
md5.c:129: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c:130: warning: incompatible implicit declaration of built-in function ‘memset’
  • Loading branch information
davejagoda committed Aug 21, 2012
1 parent 29a920e commit b9c2f84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions md5.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* will fill a supplied 16-byte array with the digest.
*/

#include <string.h>
#include "md5.h"

static void MD5Transform(unsigned int buf[4], unsigned int const in[16]);
Expand Down

0 comments on commit b9c2f84

Please sign in to comment.