Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys In the `MY THAT'S GROSS' department:



details:   https://anonhg.NetBSD.org/src/rev/b52d8acdfa3a
branches:  trunk
changeset: 483746:b52d8acdfa3a
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri Mar 17 00:10:24 2000 +0000

description:
In the `MY THAT'S GROSS' department:
Eliminate the recursive include of machine/endian.h from sys/endian.h.

diffstat:

 sys/sys/endian.h |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 77b18e04ebf5 -r b52d8acdfa3a sys/sys/endian.h
--- a/sys/sys/endian.h  Fri Mar 17 00:09:18 2000 +0000
+++ b/sys/sys/endian.h  Fri Mar 17 00:10:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: endian.h,v 1.1 1999/08/21 05:27:26 simonb Exp $        */
+/*     $NetBSD: endian.h,v 1.2 2000/03/17 00:10:24 mycroft Exp $       */
 
 /*
  * Copyright (c) 1987, 1991, 1993
@@ -35,13 +35,11 @@
  *     @(#)endian.h    8.1 (Berkeley) 6/11/93
  */
 
-#ifndef _MACHINE_ENDIAN_H_     /* _BEFORE_ #ifndef _SYS_ENDIAN_H_ */
-#include <machine/endian.h>
-#endif
-
 #ifndef _SYS_ENDIAN_H_
 #define _SYS_ENDIAN_H_
 
+#include <machine/endian_machdep.h>
+
 /*
  * Definitions for byte order, according to byte significance from low
  * address to high.



Home | Main Index | Thread Index | Old Index