Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/common #idef the label next_ifa: just like the on...



details:   https://anonhg.NetBSD.org/src/rev/4519833c2671
branches:  trunk
changeset: 828014:4519833c2671
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Nov 22 15:25:34 2017 +0000

description:
#idef the label next_ifa: just like the only goto using it.

diffstat:

 sys/compat/common/uipc_syscalls_40.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r d84477c4c0d1 -r 4519833c2671 sys/compat/common/uipc_syscalls_40.c
--- a/sys/compat/common/uipc_syscalls_40.c      Wed Nov 22 15:15:09 2017 +0000
+++ b/sys/compat/common/uipc_syscalls_40.c      Wed Nov 22 15:25:34 2017 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: uipc_syscalls_40.c,v 1.14 2017/11/22 10:19:14 ozaki-r Exp $    */
+/*     $NetBSD: uipc_syscalls_40.c,v 1.15 2017/11/22 15:25:34 martin Exp $     */
 
 /* written by Pavel Cahyna, 2006. Public domain. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_40.c,v 1.14 2017/11/22 10:19:14 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_40.c,v 1.15 2017/11/22 15:25:34 martin Exp $");
 
 /*
  * System call interface to the socket abstraction.
@@ -124,7 +124,9 @@
                        }
                        space -= sz;
 
+#ifdef COMPAT_OSOCK
                next_ifa:
+#endif
                        s = pserialize_read_enter();
                        ifa_release(ifa, &psref_ifa);
                }



Home | Main Index | Thread Index | Old Index