Messages in this thread Patch in this message |  | | | From | Joe Perches <> | | Subject | [PATCH 11/14] kernel.h: Remove uses of NORET_TYPE | | Date | Wed, 16 Dec 2009 00:09:10 -0800 |
| |
It's useless Replaced with extern just for consistency
Signed-off-by: Joe Perches <joe@perches.com> --- include/linux/kernel.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 5c97b73..e079744 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -126,14 +126,14 @@ static inline void might_fault(void) extern struct atomic_notifier_head panic_notifier_list; extern long (*panic_blink)(long time); -NORET_TYPE void panic(const char *fmt, ...) +extern void panic(const char *fmt, ...) __attribute__ ((noreturn, format (printf, 1, 2))) __cold; extern void oops_enter(void); extern void oops_exit(void); extern int oops_may_print(void); -NORET_TYPE void do_exit(long code) +extern void do_exit(long code) __attribute__ ((noreturn)); -NORET_TYPE void complete_and_exit(struct completion *comp, long code) +extern void complete_and_exit(struct completion *comp, long code) __attribute__ ((noreturn)); /* -- 1.6.6.rc0.57.gad7a
|  |