Remove separate GCC4 versions of add_debug_command()/remove_debug_command() and

add the const in any case. As Axel points out these are C functions and we do
not affect binary compatibility by changing their signature.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29124 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2009-02-01 23:32:25 +00:00
parent 5ca7bf5f96
commit d9c6f9a92c
2 changed files with 0 additions and 14 deletions
-6
View File
@@ -174,16 +174,10 @@ extern void panic(const char *format, ...) _PRINTFLIKE(1, 2);
extern void kernel_debugger(const char *message);
extern uint64 parse_expression(const char *string);
#if __GNUC__ > 2
extern int add_debugger_command(const char *name,
debugger_command_hook hook, const char *help);
extern int remove_debugger_command(const char *name,
debugger_command_hook hook);
#else
extern int add_debugger_command(char *name, debugger_command_hook hook, char *help);
extern int remove_debugger_command(char *name,
debugger_command_hook hook);
#endif
/* Miscellaneous */
extern void spin(bigtime_t microseconds);