diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-01-19 14:22:31 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-19 23:33:16 +0100 |
commit | c5134c7759b7a3f0c4ed0b57a1ab8e49666ee4b6 (patch) | |
tree | b0dfa3fb6696453a921d088a0b0099fd1b8cd285 /device/dev_name.c | |
parent | 4a1be513c08971b69d80f00478ade68cb25e7d3b (diff) | |
download | gnumach-c5134c7759b7a3f0c4ed0b57a1ab8e49666ee4b6.tar.gz gnumach-c5134c7759b7a3f0c4ed0b57a1ab8e49666ee4b6.tar.bz2 gnumach-c5134c7759b7a3f0c4ed0b57a1ab8e49666ee4b6.zip |
Remove existing old style definitions and use -Wold-style-definition.
Message-Id: <Y8mYd/pt/og4Tj5I@mercury.tail36e24.ts.net>
Diffstat (limited to 'device/dev_name.c')
-rw-r--r-- | device/dev_name.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/device/dev_name.c b/device/dev_name.c index e64fd0e9..abd525ca 100644 --- a/device/dev_name.c +++ b/device/dev_name.c @@ -103,10 +103,9 @@ nomap(dev_t dev, vm_offset_t off, int prot) * next character of target is 0 (end of string). */ boolean_t __attribute__ ((pure)) -name_equal(src, len, target) - const char *src; - int len; - const char *target; +name_equal(const char *src, + int len, + const char *target) { while (--len >= 0) if (*src++ != *target++) |