added the format expected by panic to throw warnings on compilation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18650 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9ecf9d1c1d
commit
551b4152f6
@ -183,7 +183,11 @@ extern void dump_block(const char *buffer, int size, const char *prefix);
|
||||
|
||||
extern bool set_dprintf_enabled(bool new_state); /* returns old state */
|
||||
|
||||
#if __GNUC__
|
||||
extern void panic(const char *format, ...) __attribute__ ((format (__printf__, 1, 2)));
|
||||
#else
|
||||
extern void panic(const char *format, ...);
|
||||
#endif
|
||||
|
||||
extern void kernel_debugger(const char *message); /* enter kernel debugger */
|
||||
extern uint32 parse_expression(const char *string); /* utility for debugger cmds */
|
||||
|
Loading…
Reference in New Issue
Block a user