[PATCH 2.5]: move do_signal32 declaration upwards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
do_signal32 is needed in do_signal but declared after that function
which makes this an implicit declaration. Moving the declaration upward
fixes the warning. Patch attached, please apply.
 -- Guido
Index: arch/mips64/kernel/signal.c
===================================================================
RCS file: /home/cvs/linux/arch/mips64/kernel/signal.c,v
retrieving revision 1.37
diff -u -p -r1.37 signal.c
--- arch/mips64/kernel/signal.c	6 Mar 2003 21:30:48 -0000	1.37
+++ arch/mips64/kernel/signal.c	22 Mar 2003 21:18:45 -0000
@@ -341,6 +341,10 @@ static inline void handle_signal(unsigne
 	}
 }
 
+
+extern int do_signal32(sigset_t *oldset, struct pt_regs *regs);
+extern int do_irix_signal(sigset_t *oldset, struct pt_regs *regs);
+
 asmlinkage int do_signal(sigset_t *oldset, struct pt_regs *regs)
 {
 	siginfo_t info;
@@ -377,8 +381,6 @@ asmlinkage int do_signal(sigset_t *oldse
 	return 0;
 }
 
-extern int do_irix_signal(sigset_t *oldset, struct pt_regs *regs);
-extern int do_signal32(sigset_t *oldset, struct pt_regs *regs);
 
 /*
  * notification of userspace execution resumption

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux