Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/include minor knf
details: https://anonhg.NetBSD.org/src/rev/62ce6d1815c2
branches: trunk
changeset: 518368:62ce6d1815c2
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Nov 29 02:46:55 2001 +0000
description:
minor knf
diffstat:
sys/arch/i386/include/byte_swap.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r dc145f24e943 -r 62ce6d1815c2 sys/arch/i386/include/byte_swap.h
--- a/sys/arch/i386/include/byte_swap.h Thu Nov 29 02:26:50 2001 +0000
+++ b/sys/arch/i386/include/byte_swap.h Thu Nov 29 02:46:55 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: byte_swap.h,v 1.5 2001/11/03 06:22:54 lukem Exp $ */
+/* $NetBSD: byte_swap.h,v 1.6 2001/11/29 02:46:55 lukem Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -59,14 +59,14 @@
"rorw $8, %w1\n\trorl $16, %1\n\trorw $8, %w1"
#endif
: "=r" (x) : "0" (x));
- return x;
+ return (x);
}
static __inline u_int16_t
__byte_swap_word_variable(u_int16_t x)
{
__asm __volatile ("rorw $8, %w1" : "=r" (x) : "0" (x));
- return x;
+ return (x);
}
#ifdef __OPTIMIZE__
Home |
Main Index |
Thread Index |
Old Index