block prototype definitions with _LOCORE (for .S)
This commit is contained in:
parent
c31e760978
commit
80d920c3d0
|
@ -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 @@ __END_DECLS
|
|||
#define HTONS(x) (x) = htons((in_port_t)x)
|
||||
#endif
|
||||
|
||||
#endif /* !_LOCORE */
|
||||
|
||||
#endif /* _MACHINE_ENDIAN_H_ */
|
||||
|
|
Loading…
Reference in New Issue