Messages in this thread Patch in this message |  | | Date | Thu, 31 Aug 2000 22:49:02 +0200 | From | Rasmus Andersen <> | Subject | [patch] Returning value from void function (kernel/signal.c) (240t8p1) |
| |
Hi.
I guess the threads stuff introduced this minor compile warning:
signal.c: In function `handle_stop_signal': signal.c:367: warning: `return' with a value, in function returning void
The following small patch fixes this:
--- linux-240test8-pre1/kernel/signal.c Tue Aug 29 22:20:51 2000 +++ linux/kernel/signal.c Thu Aug 31 22:38:48 2000 @@ -364,7 +364,7 @@ recalc_sigpending(t); break; } - return 0; + return; } static int deliver_signal(int sig, struct siginfo *info, struct task_struct *t) -- Regards, Rasmus(rasmus@jaquet.dk)
I believe that people would be alive today if we had the death penalty. -- Nancy Reagan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |