summaryrefslogtreecommitdiff
path: root/kern/panic.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-06-15 00:29:00 +0200
committerRichard Braun <rbraun@sceen.net>2017-06-15 00:29:00 +0200
commit0eac4af899270f4ece438a2eb05c186639a9faee (patch)
tree5a7d2dfa26afeaeafe55c9f53275908143c808f5 /kern/panic.h
parentd8ed3b6cda0a7dbc32a6ca2fecfc71a6fb1fe67c (diff)
kern/macros: remove the __format_printf macro
This macro isn't used enough for this alias to have any real value.
Diffstat (limited to 'kern/panic.h')
-rw-r--r--kern/panic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/panic.h b/kern/panic.h
index 9d1d31e0..cd0651a4 100644
--- a/kern/panic.h
+++ b/kern/panic.h
@@ -23,6 +23,7 @@
/*
* Print the given message and halt the system immediately.
*/
-void __noreturn panic(const char *format, ...) __format_printf(1, 2);
+void __noreturn panic(const char *format, ...)
+ __attribute__((format(printf, 1, 2)));
#endif /* _KERN_PANIC_H */