diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-06-16 16:14:35 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-06-16 16:14:35 +0000 |
commit | 9179e41bb51d904f2e2f32dd2a41def27ccc89b1 (patch) | |
tree | a42aeec6ce604e1af9d67146089c4f053283f41c /usr.sbin/config | |
parent | 2f274c2b72a2ca04cc7e4849dfa7c6e5d0eb872e (diff) |
Convert two K&R function definitions to ANSI
ok deraadt
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/scan.l | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/config/scan.l b/usr.sbin/config/scan.l index 6768b7c0d5a..f1369a0a9ec 100644 --- a/usr.sbin/config/scan.l +++ b/usr.sbin/config/scan.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: scan.l,v 1.24 2017/07/09 14:04:50 espie Exp $ */ +/* $OpenBSD: scan.l,v 1.25 2023/06/16 16:14:34 tb Exp $ */ /* $NetBSD: scan.l,v 1.13 1997/02/02 21:12:37 thorpej Exp $ */ /* @@ -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; |