Sync with some upstream OpenBSD #include cleanup.
Change-Id: Ibcd7adb19e9a6b9ad8c24d77e23935f19f56a144
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/* $OpenBSD: htonl.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
|
||||
/* $OpenBSD: htonl.c,v 1.7 2014/07/21 01:51:10 guenther Exp $ */
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <machine/endian.h>
|
||||
#include <endian.h>
|
||||
|
||||
#undef htonl
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/* $OpenBSD: htons.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
|
||||
/* $OpenBSD: htons.c,v 1.9 2014/07/21 01:51:10 guenther Exp $ */
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <machine/endian.h>
|
||||
#include <endian.h>
|
||||
|
||||
#undef htons
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/* $OpenBSD: ntohl.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
|
||||
/* $OpenBSD: ntohl.c,v 1.7 2014/07/21 01:51:10 guenther Exp $ */
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <machine/endian.h>
|
||||
#include <endian.h>
|
||||
|
||||
#undef ntohl
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/* $OpenBSD: ntohs.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
|
||||
/* $OpenBSD: ntohs.c,v 1.9 2014/07/21 01:51:10 guenther Exp $ */
|
||||
/*
|
||||
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <machine/endian.h>
|
||||
#include <endian.h>
|
||||
|
||||
#undef ntohs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user