summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mopd
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-10-17 08:02:14 +0000
committerderaadt <deraadt@openbsd.org>2013-10-17 08:02:14 +0000
commitd335c2c784d090b7e0de13aa3490c7db51a9fc7d (patch)
tree722e461222c69cbb857819f6e7d93fba4bc535d4 /usr.sbin/mopd
parenttweak previous; (diff)
downloadwireguard-openbsd-d335c2c784d090b7e0de13aa3490c7db51a9fc7d.tar.xz
wireguard-openbsd-d335c2c784d090b7e0de13aa3490c7db51a9fc7d.zip
Remove support for a.out and ecoff. We only do elf now.
ok miod
Diffstat (limited to 'usr.sbin/mopd')
-rw-r--r--usr.sbin/mopd/common/file.c8
-rw-r--r--usr.sbin/mopd/mopa.out/mopa.out.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/mopd/common/file.c b/usr.sbin/mopd/common/file.c
index 55a9566c80c..1432ceead5c 100644
--- a/usr.sbin/mopd/common/file.c
+++ b/usr.sbin/mopd/common/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.14 2013/07/05 21:02:07 miod Exp $ */
+/* $OpenBSD: file.c,v 1.15 2013/10/17 08:02:21 deraadt Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
@@ -31,8 +31,8 @@
#include <stddef.h>
#ifndef NOAOUT
-#if defined(__NetBSD__) || defined(__OpenBSD__)
-#include <sys/exec_aout.h>
+#if defined(__OpenBSD__)
+#include <sys/exec.h>
#endif
#if defined(__bsdi__)
#define NOAOUT
@@ -52,7 +52,7 @@
#endif
#ifndef NOELF
-#if defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(__OpenBSD__)
#include <sys/exec_elf.h>
#else
#define NOELF
diff --git a/usr.sbin/mopd/mopa.out/mopa.out.c b/usr.sbin/mopd/mopa.out/mopa.out.c
index c0610eeeb17..964220e7cd2 100644
--- a/usr.sbin/mopd/mopa.out/mopa.out.c
+++ b/usr.sbin/mopd/mopa.out/mopa.out.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mopa.out.c,v 1.12 2013/07/05 21:02:07 miod Exp $ */
+/* $OpenBSD: mopa.out.c,v 1.13 2013/10/17 08:02:21 deraadt Exp $ */
/* mopa.out - Convert a Unix format kernel into something that
* can be transferred via MOP.
@@ -51,8 +51,8 @@
#include "common/common.h"
#include "common/mopdef.h"
#include "common/file.h"
-#if defined(__NetBSD__) || defined(__OpenBSD__)
-#include <sys/exec_aout.h>
+#if defined(__OpenBSD__)
+#include <sys/exec.h>
#endif
#if defined(__FreeBSD__)
#include <sys/imgact_aout.h>