2003-05-22 06:17:35

by David Gibson

[permalink] [raw]
Subject: [TRIVIAL] Implicit declaration in ppc64 signal32.c

Anton, please apply. do_signal32() is used before it is defined, this
prototype squashes the warning.

diff -urN for-linus-ppc64/arch/ppc64/kernel/signal32.c linux-congo/arch/ppc64/kernel/signal32.c
--- for-linus-ppc64/arch/ppc64/kernel/signal32.c 2003-05-07 15:10:18.000000000 +1000
+++ linux-congo/arch/ppc64/kernel/signal32.c 2003-05-22 15:54:55.000000000 +1000
@@ -97,7 +97,7 @@
struct ucontext32 uc;
};

-
+int do_signal32(sigset_t *oldset, struct pt_regs *regs);

/*
* Start of nonRT signal support

--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson