[lkml]   [2009]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 11/14] kernel.h: Remove uses of NORET_TYPE
It's useless
Replaced with extern just for consistency

Signed-off-by: Joe Perches <>
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));


 \ /
  Last update: 2009-12-16 14:05    [W:0.226 / U:7.892 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site