bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warnings to be fixed


From: Jim Meyering
Subject: Re: Warnings to be fixed
Date: Sun, 19 Oct 2008 08:22:40 +0200

Bruno Haible <address@hidden> wrote:
> Jim Meyering wrote:
>> +2008-10-16  Jim Meyering  <address@hidden>
>> +
>> +    openat-die.c: avoid 'no previous prototype' warning
>> +    * lib/openat-die.c: Include "openat.h".
>> +    Reported by Reuben Thomas <address@hidden>.
>
> Thanks to this change, I now get a compilation error when compiling for mingw:
...
> 2008-10-18  Bruno Haible  <address@hidden>
>
>       * lib/openat-die.c (openat_save_fail, openat_restore_fail): Rename
>       the parameter from 'errno' to 'errnum'. Fixes a compilation error on
>       mingw.
>
> --- lib/openat-die.c.orig     2008-10-19 02:42:49.000000000 +0200
> +++ lib/openat-die.c  2008-10-19 02:40:41.000000000 +0200
> @@ -29,9 +29,9 @@
>  #define N_(msgid) msgid
>
>  void
> -openat_save_fail (int errno)
> +openat_save_fail (int errnum)
...

Looks fine. Please apply.
Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]