[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: missing strcpy prototype in gethostname module
From: |
Jim Meyering |
Subject: |
Re: missing strcpy prototype in gethostname module |
Date: |
Wed, 16 Jan 2008 17:55:03 +0100 |
Simon Josefsson <address@hidden> wrote:
> Shishi on mingw:
>
> ../../../src/shishi-0.0.34/gl/gethostname.c: In function 'gethostname':
> ../../../src/shishi-0.0.34/gl/gethostname.c:48: warning: implicit declaration
> of function 'strcpy'
> ../../../src/shishi-0.0.34/gl/gethostname.c:48: warning: incompatible
> implicit declaration of built-in function 'strcpy'
>
> Patch below applied.
>
> /Simon
>
> 2008-01-16 Simon Josefsson <address@hidden>
>
> * lib/gethostname.c [!HAVE_UNAME]: Need string.h for strcpy.
Looks fine.