Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/include Use uint32_t and uint16_t not in_addr_...
details: https://anonhg.NetBSD.org/src/rev/0b98d5f6f43b
branches: trunk
changeset: 587779:0b98d5f6f43b
user: dsl <dsl%NetBSD.org@localhost>
date: Fri Feb 03 22:05:21 2006 +0000
description:
Use uint32_t and uint16_t not in_addr_t and in_port_t
diffstat:
sys/arch/hppa/include/byte_swap.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dd1d9d0c0e97 -r 0b98d5f6f43b sys/arch/hppa/include/byte_swap.h
--- a/sys/arch/hppa/include/byte_swap.h Fri Feb 03 21:43:30 2006 +0000
+++ b/sys/arch/hppa/include/byte_swap.h Fri Feb 03 22:05:21 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: byte_swap.h,v 1.6 2006/01/30 22:46:35 dsl Exp $ */
+/* $NetBSD: byte_swap.h,v 1.7 2006/02/03 22:05:21 dsl Exp $ */
/* $OpenBSD: endian.h,v 1.7 2001/06/29 20:28:54 mickey Exp $ */
@@ -45,7 +45,7 @@
static __inline uint32_t
__byte_swap_u32_variable(uint32_t x)
{
- register in_addr_t __swap32md_x; \
+ register uint32_t __swap32md_x; \
\
__asm ("extru %1, 7,8,%%r22\n\t" \
"shd %1,%1,8,%0\n\t" \
@@ -70,7 +70,7 @@
static __inline uint16_t
__byte_swap_u16_variable(uint16_t x)
{
- register in_port_t __swap16md_x; \
+ register uint16_t __swap16md_x; \
\
__asm ("extru %1,23,8,%0\n\t" \
"dep %1,23,8,%0" \
Home |
Main Index |
Thread Index |
Old Index