freemyipod r109 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r108‎ | r109 | r110 >
Date:12:39, 12 August 2010
Author:theseven
Status:new
Tags:
Comment:
Simplify syscallwrappers.h
Modified paths:
  • /apps/syscallwrappers.h (modified) (history)

Diff [purge]

Index: apps/syscallwrappers.h
@@ -31,8 +31,8 @@
3232 extern struct embios_syscall_table* __embios_syscall;
3333
3434
35 -#define panic(severity, string) __embios_syscall->panic(severity, string)
36 -#define panicf(severity, fmt, args...) __embios_syscall->panic(severity, fmt, ##args)
 35+#define panic(args...) __embios_syscall->panic(##args)
 36+#define panicf(args...) __embios_syscall->panicf(##args)
3737
3838
3939 #endif