Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86_64/include minor knf



details:   https://anonhg.NetBSD.org/src/rev/35e1f48e0b22
branches:  trunk
changeset: 518369:35e1f48e0b22
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Nov 29 02:58:18 2001 +0000

description:
minor knf

diffstat:

 sys/arch/x86_64/include/byte_swap.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 62ce6d1815c2 -r 35e1f48e0b22 sys/arch/x86_64/include/byte_swap.h
--- a/sys/arch/x86_64/include/byte_swap.h       Thu Nov 29 02:46:55 2001 +0000
+++ b/sys/arch/x86_64/include/byte_swap.h       Thu Nov 29 02:58:18 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap.h,v 1.2 2001/11/02 05:23:48 lukem Exp $      */
+/*     $NetBSD: byte_swap.h,v 1.3 2001/11/29 02:58:18 lukem Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -51,14 +51,14 @@
 __byte_swap_long_variable(u_int32_t x)
 {
        __asm __volatile ( "bswap %1" : "=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);
 }
 
 



Home | Main Index | Thread Index | Old Index