Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys lib/49696: Circular dependency and namespace polluti...
details: https://anonhg.NetBSD.org/src/rev/585e857ec31f
branches: trunk
changeset: 336351:585e857ec31f
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Feb 26 15:01:53 2015 +0000
description:
lib/49696: Circular dependency and namespace pollution by sys/bswap.h
including sys/types.h for no good reason. Restrict to sys/stdint.h.
diffstat:
sys/sys/bswap.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 5cfac065d8c5 -r 585e857ec31f sys/sys/bswap.h
--- a/sys/sys/bswap.h Thu Feb 26 14:10:14 2015 +0000
+++ b/sys/sys/bswap.h Thu Feb 26 15:01:53 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bswap.h,v 1.17 2014/12/03 18:33:02 joerg Exp $ */
+/* $NetBSD: bswap.h,v 1.18 2015/02/26 15:01:53 joerg Exp $ */
/* Written by Manuel Bouyer. Public domain */
@@ -6,8 +6,7 @@
#define _SYS_BSWAP_H_
#ifndef _LOCORE
-#include <sys/cdefs.h>
-#include <sys/types.h>
+#include <sys/stdint.h>
#include <machine/bswap.h>
Home |
Main Index |
Thread Index |
Old Index