Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/include block prototype definitions with _LOCOR...



details:   https://anonhg.NetBSD.org/src/rev/67c8c4e080fd
branches:  trunk
changeset: 480521:67c8c4e080fd
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Jan 14 15:46:02 2000 +0000

description:
block prototype definitions with _LOCORE (for .S)

diffstat:

 sys/arch/sh3/include/endian.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r b63880d5e86e -r 67c8c4e080fd sys/arch/sh3/include/endian.h
--- a/sys/arch/sh3/include/endian.h     Fri Jan 14 15:25:28 2000 +0000
+++ b/sys/arch/sh3/include/endian.h     Fri Jan 14 15:46:02 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: endian.h,v 1.1 1999/09/13 10:31:17 itojun Exp $ */
+/*     $NetBSD: endian.h,v 1.2 2000/01/14 15:46:02 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1987, 1991 Regents of the University of California.
@@ -60,6 +60,8 @@
 #define _QUAD_LOWWORD  0
 #endif
 
+#ifndef _LOCORE
+#include <machine/types.h>
 #include <sys/cdefs.h>
 
 typedef u_int32_t      in_addr_t;
@@ -94,4 +96,6 @@
 #define        HTONS(x)        (x) = htons((in_port_t)x)
 #endif
 
+#endif /* !_LOCORE */
+
 #endif /* _MACHINE_ENDIAN_H_ */



Home | Main Index | Thread Index | Old Index