From: Ingo Molnar Date: Fri, 15 Aug 2008 15:48:02 +0000 (+0200) Subject: ftrace: build fix X-Git-Tag: v2.6.28-rc1~78^2~104 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0;p=linux-2.6-omap-h63xx.git ftrace: build fix fix: In file included from init/main.c:65: include/linux/ftrace.h:166: error: expected ‘,' or ‘;' before ‘{' token make[1]: *** [init/main.o] Error 1 make: *** [init/main.o] Error 2 Signed-off-by: Ingo Molnar --- diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index f7fb92045bf..ce929cb5543 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -183,7 +183,10 @@ extern void ftrace_dump(void); static inline void ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } static inline int -ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0))) +ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0))); + +static inline int +ftrace_printk(const char *fmt, ...) { return 0; }