Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=eaf2b8dca47cc1d4ca7fd83f37604e0f5478b33a
Commit:     eaf2b8dca47cc1d4ca7fd83f37604e0f5478b33a
Parent:     ab012ebf9ebb5f3392e74c1666e7473b8567aeb0
Author:     Maciej W. Rozycki <[EMAIL PROTECTED]>
AuthorDate: Tue May 29 15:03:56 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Wed Jul 4 15:53:15 2007 +0100

    [MIPS] die(): Properly declare as non-returning
    
     This marks the declaration of die() correctly, removing "control reaches
    end of non-void function" warnings from non-void functions that die() at
    the end.
    
    Signed-off-by: Maciej W. Rozycki <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 include/asm-mips/ptrace.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-mips/ptrace.h b/include/asm-mips/ptrace.h
index 1906938..85b4436 100644
--- a/include/asm-mips/ptrace.h
+++ b/include/asm-mips/ptrace.h
@@ -86,7 +86,7 @@ struct pt_regs {
 
 extern asmlinkage void do_syscall_trace(struct pt_regs *regs, int entryexit);
 
-extern NORET_TYPE void die(const char *, struct pt_regs *);
+extern NORET_TYPE void die(const char *, struct pt_regs *) ATTRIB_NORET;
 
 static inline void die_if_kernel(const char *str, struct pt_regs *regs)
 {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to