Re: [PATCH] avoid misc. warnings

2009-02-05 Thread Pádraig Brady
Bruno Haible wrote: > Jim Meyering wrote: >> I wrote these changes some time ago, and >> am going to push them shortly. >> >> +#undef UNUSED_PARAM >> +#ifdef __linux__ >> +# define UNUSED_PARAM _UNUSED_PARAMETER_ >> +#else >> +# define UNUSED_PARAM >> +#endif >> + >> ... >> >> +#undef UNUSED_PARAM

Re: [PATCH] avoid misc. warnings

2009-02-05 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> I wrote these changes some time ago, and >> am going to push them shortly. >> >> +#undef UNUSED_PARAM >> +#ifdef __linux__ >> +# define UNUSED_PARAM _UNUSED_PARAMETER_ >> +#else >> +# define UNUSED_PARAM >> +#endif >> + >> ... >> >> +#undef UNUSED_PARA

Re: [PATCH] avoid misc. warnings

2009-02-04 Thread Bruno Haible
Jim Meyering wrote: > I wrote these changes some time ago, and > am going to push them shortly. > > +#undef UNUSED_PARAM > +#ifdef __linux__ > +# define UNUSED_PARAM _UNUSED_PARAMETER_ > +#else > +# define UNUSED_PARAM > +#endif > + > ... > > +#undef UNUSED_PARAM > +#ifdef GETFSTYP > +# define UNU

Re: [PATCH] avoid misc. warnings

2009-02-04 Thread Karl Berry
I committed the change (locally) in 2008, but pushed it in 2009. Snce it is 2009, it is ok (though not required) to add 2009 to the copyright years for any file in any public VC, if the containing package has had nontrivial changes. From maintain.texi: To update the list of year numbers, a

Re: [PATCH] avoid misc. warnings

2009-02-04 Thread Jim Meyering
Eric Blake wrote: > Jim Meyering meyering.net> writes: >> +++ b/lib/fsusage.c >> @@ -1,6 +1,6 @@ >> /* fsusage.c -- return space usage of mounted file systems >> >> - Copyright (C) 1991, 1992, 1996, 1998, 1999, 2002, 2003, 2004, 2005, 2006 >> + Copyright (C) 1991-1992, 1996, 1998-1999, 2002-

Re: [PATCH] avoid misc. warnings

2009-02-04 Thread Eric Blake
Jim Meyering meyering.net> writes: > +++ b/lib/fsusage.c > @@ -1,6 +1,6 @@ > /* fsusage.c -- return space usage of mounted file systems > > - Copyright (C) 1991, 1992, 1996, 1998, 1999, 2002, 2003, 2004, 2005, 2006 > + Copyright (C) 1991-1992, 1996, 1998-1999, 2002-2006, 2008 2009? -- Er

[PATCH] avoid misc. warnings

2009-02-04 Thread Jim Meyering
I wrote these changes some time ago, and am going to push them shortly. >From 69dc39bca283cd4e8b8900858a5b0c90b445df6e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 30 Nov 2008 17:10:29 +0100 Subject: [PATCH] avoid misc. warnings * lib/fsusage.c (UNUSED_PARAM): Define. (get_fs_us