On 2023/06/16 18:08:17 +0200, Theo Buehler <t...@theobuehler.org> wrote:
> Trivial, but config is important, so I'd rather have an ok.

fwiw ok op@ too, this time I remembered to pay attention to the order :)

> 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)
>  {
>       FILE *fp;
>       struct incl *in;


Reply via email to