Brian Callahan wrote:
> Hi tech --
> 
> Fix some warnings found with WARNINGS=yes. I believe setting
> ev1 = NULL in io.c is a false positive by cc but I fixed it anyway.
> 
> ~Brian
> 
> Index: day.c
> ===================================================================
> RCS file: /cvs/src/usr.bin/calendar/day.c,v
> retrieving revision 1.34
> diff -u -p -u -p -r1.34 day.c
> --- day.c     14 Sep 2016 15:09:46 -0000      1.34
> +++ day.c     30 May 2017 01:11:39 -0000
> @@ -77,7 +77,9 @@ static struct fixs ndays[8];          /*
>  static struct fixs fnmonths[13];      /* full national months names */
>  static struct fixs nmonths[13];       /* short national month names */
>  
> -void
> +static void fill_print_date(struct match *, struct tm *);
> +
> +static void
>  fill_print_date(struct match *m, struct tm *tm)

whatever warning does this is stupid. there's no bug that can be prevented by
copying the declaration one line up, and it just makes more work to change it.

Reply via email to