@@ -26,7 +26,6 @@
#include "errno_defs.h"
#include "freebsd/syscall_nr.h"
-#include "netbsd/syscall_nr.h"
#include "openbsd/syscall_nr.h"
/*
@@ -40,9 +39,6 @@
* FreeBSD uses a 64bits time_t except on i386
* so we have to add a special case here.
*
- * On NetBSD time_t is always defined as an int64_t. On OpenBSD time_t
- * is always defined as an int.
- *
*/
#if (!defined(TARGET_I386))
typedef int64_t target_freebsd_time_t;
@@ -69,18 +65,6 @@ struct target_iovec {
#define TARGET_FREEBSD_MAP_FLAGMASK 0x1ff7
-#define TARGET_NETBSD_MAP_INHERIT 0x0080 /* region is retained after */
- /* exec */
-#define TARGET_NETBSD_MAP_TRYFIXED 0x0400 /* attempt hint address, even */
- /* within break */
-#define TARGET_NETBSD_MAP_WIRED 0x0800 /* mlock() mapping when it is */
- /* established */
-
-#define TARGET_NETBSD_MAP_STACK 0x2000 /* allocated from memory, */
- /* swap space (stack) */
-
-#define TARGET_NETBSD_MAP_FLAGMASK 0x3ff7
-
#define TARGET_OPENBSD_MAP_INHERIT 0x0080 /* region is retained after */
/* exec */
#define TARGET_OPENBSD_MAP_NOEXTEND 0x0100 /* for MAP_FILE, don't change */
Remove NetBSD system call inclusion and defines. We've not supported building all the BSDs into one module for some time, and the NetBSD support hasn't even built since the meson conversion. Signed-off-by: Warner Losh <imp@bsdimp.com> --- bsd-user/syscall_defs.h | 16 ---------------- 1 file changed, 16 deletions(-)