Sync with some upstream OpenBSD #include cleanup.

Change-Id: Ibcd7adb19e9a6b9ad8c24d77e23935f19f56a144
This commit is contained in:
Elliott Hughes 2014-09-23 13:55:15 -07:00
parent 93951cfa96
commit 08dc9d83a2
5 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ldtoa.c,v 1.1 2008/09/07 20:36:08 martynas Exp $ */ /* $OpenBSD: ldtoa.c,v 1.2 2014/08/10 02:15:18 guenther Exp $ */
/*- /*-
* Copyright (c) 2003 David Schultz <das@FreeBSD.ORG> * Copyright (c) 2003 David Schultz <das@FreeBSD.ORG>
* All rights reserved. * All rights reserved.
@ -30,7 +30,7 @@
#include <machine/ieee.h> #include <machine/ieee.h>
#endif /* !__vax__ */ #endif /* !__vax__ */
#include <float.h> #include <float.h>
#include <inttypes.h> #include <stdint.h>
#include <limits.h> #include <limits.h>
#include <math.h> #include <math.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -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>. * Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain. * Public domain.
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <machine/endian.h> #include <endian.h>
#undef htonl #undef htonl

View File

@ -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>. * Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain. * Public domain.
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <machine/endian.h> #include <endian.h>
#undef htons #undef htons

View File

@ -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>. * Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain. * Public domain.
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <machine/endian.h> #include <endian.h>
#undef ntohl #undef ntohl

View File

@ -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>. * Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain. * Public domain.
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <machine/endian.h> #include <endian.h>
#undef ntohs #undef ntohs