Ethereal-dev: Re: [Ethereal-dev] warning: implicit declaration of function

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, 12 Jul 2001 11:12:16 -0400
On Thu, Jul 12, 2001 at 10:06:01AM -0500, Frank Singleton wrote:
> ftype-time.c: In function `time_fvalue_set':
> ftype-time.c:231: warning: implicit declaration of function `memcpy'
> dfilter.c: In function `g_strcmp':
> dfilter.c:195: warning: implicit declaration of function `strcmp'

Anytime you see warnings about implicit declarations of memcpy
or strcmp, it is because:
#include <string.h>

is missing from those files.

If you could fix those files and submit context diffs, that would
be appreciated.
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@xxxxxxxxxxxx