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 /kern/debug.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 'kern/debug.c')
-rw-r--r-- | kern/debug.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kern/debug.c b/kern/debug.c index 3b472ff2..44814925 100644 --- a/kern/debug.c +++ b/kern/debug.c @@ -66,8 +66,7 @@ Assert(const char *exp, const char *file, int line, const char *fun) Debugger("assertion failure"); } -void SoftDebugger(message) - const char *message; +void SoftDebugger(const char *message) { printf("Debugger invoked: %s\n", message); @@ -98,8 +97,7 @@ void SoftDebugger(message) #endif } -void Debugger(message) - const char *message; +void Debugger(const char *message) { #if !MACH_KDB panic("Debugger invoked, but there isn't one!"); |