diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2021-12-30 12:22:49 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-12-30 15:45:57 +0100 |
commit | 92bc1cb58ac15aae93416ba1f179d1b7b2311a67 (patch) | |
tree | 1e571c99e06f7e7e450edd1fe144578c2ba73650 /device/dev_name.c | |
parent | 881fe9da8bd1eb4f5a8a7fb1391cf00f556eedd8 (diff) | |
download | gnumach-92bc1cb58ac15aae93416ba1f179d1b7b2311a67.tar.gz gnumach-92bc1cb58ac15aae93416ba1f179d1b7b2311a67.tar.bz2 gnumach-92bc1cb58ac15aae93416ba1f179d1b7b2311a67.zip |
Convert from K&R to ANSI
* device/dev_name.c: Convert function prototypes from K&R to ANSI.
* device/subr.c: Convert function prototypes from K&R to ANSI.
Message-Id: <20211230112249.13682-2-etienne.brateau@gmail.com>
Diffstat (limited to 'device/dev_name.c')
-rw-r--r-- | device/dev_name.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/device/dev_name.c b/device/dev_name.c index f6133679..59ea961b 100644 --- a/device/dev_name.c +++ b/device/dev_name.c @@ -224,10 +224,7 @@ boolean_t dev_name_lookup( * Change an entry in the indirection list. */ void -dev_set_indirection(name, ops, unit) - const char *name; - dev_ops_t ops; - int unit; +dev_set_indirection(const char *name, dev_ops_t ops, int unit) { dev_indirect_t di; @@ -240,10 +237,7 @@ dev_set_indirection(name, ops, unit) } } -boolean_t dev_change_indirect(iname, dname, unit) - const char *iname; - const char *dname; - int unit; +boolean_t dev_change_indirect(const char *iname, const char *dname, int unit) { struct dev_ops *dp; struct dev_indirect *di; |