summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-08-03 07:50:19 +0000
committerobrien <obrien@FreeBSD.org>2003-08-03 07:50:19 +0000
commit150d7d30367f534a88e6f31a6ac78f8f33369123 (patch)
tree09cc069f626f39a12b1ffdb495154a77321058ac /sys/alpha
parent991dd8e1638c9fe0641dcbd82036cfd024216883 (diff)
downloadFreeBSD-src-150d7d30367f534a88e6f31a6ac78f8f33369123.zip
FreeBSD-src-150d7d30367f534a88e6f31a6ac78f8f33369123.tar.gz
Style sync.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/include/endian.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/alpha/include/endian.h b/sys/alpha/include/endian.h
index 7906ea1..8d957a6 100644
--- a/sys/alpha/include/endian.h
+++ b/sys/alpha/include/endian.h
@@ -44,8 +44,8 @@
/*
* Define the order of 32-bit words in 64-bit words.
*/
-#define _QUAD_HIGHWORD 1
-#define _QUAD_LOWWORD 0
+#define _QUAD_HIGHWORD 1
+#define _QUAD_LOWWORD 0
/*
* Definitions for byte order, according to byte significance from low
@@ -81,7 +81,7 @@ __bswap64(__uint64_t _x)
}
static __inline __uint32_t
-__bswap32(__uint32_t __x)
+__bswap32(__uint32_t _x)
{
__uint32_t __r;
@@ -95,12 +95,12 @@ __bswap32(__uint32_t __x)
"or $4, $1, %0\n\t"
"or $2, $3, $2\n\t"
"or $2, %0, %0"
- : "=r" (__r) : "r" (__x) : "$1", "$2", "$3", "$4");
+ : "=r" (__r) : "r" (_x) : "$1", "$2", "$3", "$4");
return (__r);
}
-static __inline __uint16_t
-__bswap16(__uint16_t __x)
+static __inline __uint16_t
+__bswap16(__uint16_t _x)
{
__uint16_t __r;
@@ -108,7 +108,7 @@ __bswap16(__uint16_t __x)
"insbl %1, 1, $1\n\t"
"extbl %1, 1, $2\n\t"
"or $1, $2, %0"
- : "=r" (__r) : "r" (__x) : "$1", "$2");
+ : "=r" (__r) : "r" (_x) : "$1", "$2");
return (__r);
}
OpenPOWER on IntegriCloud