Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common Finish linux_sys_exit_group() with a...



details:   https://anonhg.NetBSD.org/src/rev/726cd4f4582f
branches:  trunk
changeset: 569844:726cd4f4582f
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Sep 09 07:02:50 2004 +0000

description:
Finish linux_sys_exit_group() with a (never reached) "return" statement so
that GCC will actually compile this.

diffstat:

 sys/compat/linux/common/linux_sched.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r e14523530511 -r 726cd4f4582f sys/compat/linux/common/linux_sched.c
--- a/sys/compat/linux/common/linux_sched.c     Thu Sep 09 04:55:53 2004 +0000
+++ b/sys/compat/linux/common/linux_sched.c     Thu Sep 09 07:02:50 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sched.c,v 1.14 2004/09/08 19:45:22 jdolecek Exp $        */
+/*     linux_sched.c,v 1.14 2004/09/08 19:45:22 jdolecek Exp   */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sched.c,v 1.14 2004/09/08 19:45:22 jdolecek Exp $");
+__KERNEL_RCSID(0, "linux_sched.c,v 1.14 2004/09/08 19:45:22 jdolecek Exp");
 
 #include <sys/param.h>
 #include <sys/mount.h>
@@ -364,5 +364,6 @@
 
        exit1(l, W_EXITCODE(SCARG(uap, error_code), 0));
        /* NOTREACHED */
+       return 0;
 }
 #endif /* !__m68k__ */



Home | Main Index | Thread Index | Old Index