diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-05-11 21:11:41 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-11 21:11:41 -0700 |
| commit | 6b5cbfd912e2e5e1b49b543f7e6ab2126c5a212e (patch) | |
| tree | 8ca69dd446b7c97ed50c6958d704282cd40f7445 /kernel | |
| parent | 5a3ff5c474b5b1262092c08b8610635c8c7d9f8f (diff) | |
Use '#ifdef' to test for CONFIG_xxx variables, instead of
depending on undefined preprocessor symbols evaluating to zero.
Make panic.c use proper function prototypes.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 80c582d13d4f..10cfaa18b4ea 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -110,7 +110,7 @@ NORET_TYPE void panic(const char * fmt, ...) * The string is overwritten by the next call to print_taint(). */ -const char *print_tainted() +const char *print_tainted(void) { static char buf[20]; if (tainted) { |
