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 #ifdef COMPAT_80



details:   https://anonhg.NetBSD.org/src/rev/27adbe2d9599
branches:  trunk
changeset: 996367:27adbe2d9599
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Jan 30 02:00:02 2019 +0000

description:
Remove #ifdef COMPAT_80

The file will only be selected if "options COMPAT_80" is defined in
the config file.  The COMPAT_80 macro is defined only if the option
is explicitly defined, and not if it is implicitly defined due to
inclusion of lesser-version COMPATs.

diffstat:

 sys/compat/netbsd32/netbsd32_compat_80.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 0cdd441e43cd -r 27adbe2d9599 sys/compat/netbsd32/netbsd32_compat_80.c
--- a/sys/compat/netbsd32/netbsd32_compat_80.c  Wed Jan 30 01:40:02 2019 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_80.c  Wed Jan 30 02:00:02 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_compat_80.c,v 1.3 2019/01/28 01:09:52 pgoyette Exp $  */
+/*     $NetBSD: netbsd32_compat_80.c,v 1.4 2019/01/30 02:00:02 pgoyette Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_80.c,v 1.3 2019/01/28 01:09:52 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_80.c,v 1.4 2019/01/30 02:00:02 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/dirent.h>
@@ -46,8 +46,6 @@
 #include <compat/netbsd32/netbsd32_syscallargs.h>
 #include <compat/netbsd32/netbsd32_conv.h>
 
-#ifdef COMPAT_80
-
 int netbsd32_80_modctl(struct lwp *, const struct netbsd32_modctl_args *,
        register_t *);
 
@@ -197,4 +195,3 @@
                return ENOTTY;
        }
 }
-#endif /* COMPAT_80 */



Home | Main Index | Thread Index | Old Index