Re: [PATCH] tests: avoid warnings due to implicit declaration of memset

2009-08-09 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> Ok to push this fix? >> >> +* tests/test-select-stdin.c: Include for decl of memset, > > No. test-select-stdin.c does not use memset(), therefore there is no reason > for this file to include . > > The memset() call that the warnings refers to come

Re: [PATCH] tests: avoid warnings due to implicit declaration of memset

2009-08-09 Thread Bruno Haible
Jim Meyering wrote: > Ok to push this fix? > > + * tests/test-select-stdin.c: Include for decl of memset, No. test-select-stdin.c does not use memset(), therefore there is no reason for this file to include . The memset() call that the warnings refers to comes from an FD_ZERO expansion. The

[PATCH] tests: avoid warnings due to implicit declaration of memset

2009-08-09 Thread Jim Meyering
-in function 'memset' Ok to push this fix? >From 961c9e624934d39c05e8ff9f0321b6d03fab1c45 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 9 Aug 2009 22:42:47 +0200 Subject: [PATCH] tests: avoid warnings due to implicit declaration of memset * tests/test-select-stdin.c: Include for dec