summaryrefslogtreecommitdiffstats
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-12-19 22:44:58 +0000
committerguenther <guenther@openbsd.org>2014-12-19 22:44:58 +0000
commit9b18ffb8507e1a97fa391314bca6471c6889ce16 (patch)
tree7e7d675e5864f50aa0c89308697c6bf6e389bdfa /sys/dev/microcode
parentsync with libc, using brnz,pt instead, should be better (diff)
downloadwireguard-openbsd-9b18ffb8507e1a97fa391314bca6471c6889ce16.tar.xz
wireguard-openbsd-9b18ffb8507e1a97fa391314bca6471c6889ce16.zip
Use <sys/endian.h> instead of <machine/endian.h>
ok dlg@ mpi@ bcook@ millert@ miod@
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/microcode/aic7xxx/aicasm.c b/sys/dev/microcode/aic7xxx/aicasm.c
index a9d90a1061f..4bdee59ce31 100644
--- a/sys/dev/microcode/aic7xxx/aicasm.c
+++ b/sys/dev/microcode/aic7xxx/aicasm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aicasm.c,v 1.15 2012/12/05 23:20:19 deraadt Exp $ */
+/* $OpenBSD: aicasm.c,v 1.16 2014/12/19 22:44:58 guenther Exp $ */
/*
* Aic7xxx SCSI host adapter firmware asssembler
*
@@ -38,7 +38,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: aicasm.c,v 1.15 2012/12/05 23:20:19 deraadt Exp $
+ * $Id: aicasm.c,v 1.16 2014/12/19 22:44:58 guenther Exp $
*
* $FreeBSD: src/sys/dev/aic7xxx/aicasm/aicasm.c,v 1.37 2004/03/12 21:45:25 trhodes Exp $
*/
@@ -53,12 +53,7 @@
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
-
-#if linux
#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
#include "aicasm.h"
#include "aicasm_symbol.h"