On 6/16/23 12:08, Theo Buehler wrote:
> Trivial, but config is important, so I'd rather have an ok.
>
> Index: scan.l
> ===================================================================
> RCS file: /cvs/src/usr.sbin/config/scan.l,v
> retrieving revision 1.24
> diff -u -p -r1.24 scan.l
> --- scan.l    9 Jul 2017 14:04:50 -0000       1.24
> +++ scan.l    1 May 2023 19:36:28 -0000
> @@ -178,8 +178,7 @@ rmoptions return RMOPTIONS;
>   * Open the "main" file (conffile).
>   */
>  int
> -firstfile(fname)
> -     const char *fname;
> +firstfile(const char *fname)
>  {
>  
>       if ((yyin = fopen(fname, "r")) == NULL)
> @@ -197,9 +196,7 @@ firstfile(fname)
>   * If ateof == 0 then nothing is inserted.
>   */
>  int
> -include(fname, ateof)
> -     const char *fname;
> -     int ateof;
> +include(const char *fname, int ateof)

looked atrocious !!

OK aisha

>  {
>       FILE *fp;
>       struct incl *in;
>

Reply via email to