Ethereal-dev: Re: [Ethereal-dev] memcmp and memcpy warnings

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Craig Rodrigues <rodrigc@xxxxxxxxxxxx>
Date: Thu, 28 Jun 2001 11:22:44 -0400
On Thu, Jun 28, 2001 at 08:48:17AM -0500, Frank Singleton wrote:
> Hi, 
> 
> I get the following warnings when I compile the latest
> nightly tarball (28th)
> 
> reassemble.c: In function `fragment_equal':
> reassemble.c:61: warning: implicit declaration of function `memcmp'
> reassemble.c: In function `fragment_add':
> reassemble.c:226: warning: implicit declaration of function `memcpy'
> Making register.c

memcmp() and memcpy() are defined in string.h

Add:
#include <string.h>
and see if that fixes things. 
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@xxxxxxxxxxxx