Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 Remove references to COMPAT_OLDSOCK (its...



details:   https://anonhg.NetBSD.org/src/rev/cfb80f4a10b3
branches:  trunk
changeset: 825805:cfb80f4a10b3
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Jul 31 15:38:01 2017 +0000

description:
Remove references to COMPAT_OLDSOCK (itself removed years ago).

diffstat:

 sys/compat/netbsd32/netbsd32_conv.h   |   9 +--------
 sys/compat/netbsd32/netbsd32_netbsd.c |  11 ++---------
 2 files changed, 3 insertions(+), 17 deletions(-)

diffs (55 lines):

diff -r 42fdbd165935 -r cfb80f4a10b3 sys/compat/netbsd32/netbsd32_conv.h
--- a/sys/compat/netbsd32/netbsd32_conv.h       Mon Jul 31 14:53:08 2017 +0000
+++ b/sys/compat/netbsd32/netbsd32_conv.h       Mon Jul 31 15:38:01 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_conv.h,v 1.31 2016/11/13 13:59:45 rin Exp $   */
+/*     $NetBSD: netbsd32_conv.h,v 1.32 2017/07/31 15:38:01 maxv Exp $  */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -29,13 +29,6 @@
 #ifndef _COMPAT_NETBSD32_NETBSD32_CONV_H_
 #define _COMPAT_NETBSD32_NETBSD32_CONV_H_
 
-/*
- * Though COMPAT_OLDSOCK is needed only for COMPAT_43, SunOS, Linux,
- * HP-UX, FreeBSD, Ultrix, OSF1, we define it unconditionally so that
- * this would be module-safe.
- */
-#define COMPAT_OLDSOCK /* used by <sys/socket.h> */
-
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
diff -r 42fdbd165935 -r cfb80f4a10b3 sys/compat/netbsd32/netbsd32_netbsd.c
--- a/sys/compat/netbsd32/netbsd32_netbsd.c     Mon Jul 31 14:53:08 2017 +0000
+++ b/sys/compat/netbsd32/netbsd32_netbsd.c     Mon Jul 31 15:38:01 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_netbsd.c,v 1.206 2017/04/29 01:15:40 christos Exp $   */
+/*     $NetBSD: netbsd32_netbsd.c,v 1.207 2017/07/31 15:38:01 maxv Exp $       */
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.206 2017/04/29 01:15:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.207 2017/07/31 15:38:01 maxv Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -39,13 +39,6 @@
 #include "opt_syscall_debug.h"
 #endif
 
-/*
- * Though COMPAT_OLDSOCK is needed only for COMPAT_43, SunOS, Linux,
- * HP-UX, FreeBSD, Ultrix, OSF1, we define it unconditionally so that
- * this would be module-safe.
- */
-#define COMPAT_OLDSOCK /* used by <sys/socket.h> */
-
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>



Home | Main Index | Thread Index | Old Index