Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Use the same type redefinition guards as stdint....
details: https://anonhg.NetBSD.org/src/rev/ef48ecc42bbb
branches: trunk
changeset: 445694:ef48ecc42bbb
user: maya <maya%NetBSD.org@localhost>
date: Fri Nov 09 11:46:28 2018 +0000
description:
Use the same type redefinition guards as stdint.h since rev1.8
PR pkg/53713
diffstat:
sys/netinet/in.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r cafdf59e33a7 -r ef48ecc42bbb sys/netinet/in.h
--- a/sys/netinet/in.h Fri Nov 09 10:19:47 2018 +0000
+++ b/sys/netinet/in.h Fri Nov 09 11:46:28 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in.h,v 1.107 2018/08/22 01:05:24 msaitoh Exp $ */
+/* $NetBSD: in.h,v 1.108 2018/11/09 11:46:28 maya Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -42,14 +42,14 @@
#include <sys/featuretest.h>
#include <machine/int_types.h>
-#ifndef uint8_t
+#ifndef _BSD_UINT8_T_
typedef __uint8_t uint8_t;
-#define uint8_t __uint8_t
+#define _BSD_UINT8_T_
#endif
-#ifndef uint32_t
+#ifndef _BSD_UINT32_T_
typedef __uint32_t uint32_t;
-#define uint32_t __uint32_t
+#define _BSD_UINT32_T_
#endif
#include <sys/ansi.h>
Home |
Main Index |
Thread Index |
Old Index