summary refs log tree commit diff
path: root/sysdeps/i386/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-25 18:02:26 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-25 18:02:26 +0000
commit6730873037b6afad1504bb237399c343cce18451 (patch)
treecb31093b70d4dfbf5f1c77482720bf871261b8c5 /sysdeps/i386/bits
parent264d5b944dca563c8b948392942d1ea33d221723 (diff)
downloadglibc-6730873037b6afad1504bb237399c343cce18451.tar.gz
glibc-6730873037b6afad1504bb237399c343cce18451.tar.xz
glibc-6730873037b6afad1504bb237399c343cce18451.zip
Update.
1998-07-25  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
	prevent conflict with __bswap_32.
Diffstat (limited to 'sysdeps/i386/bits')
-rw-r--r--sysdeps/i386/bits/byteswap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/i386/bits/byteswap.h b/sysdeps/i386/bits/byteswap.h
index 1eef351a0c..760e0751c9 100644
--- a/sysdeps/i386/bits/byteswap.h
+++ b/sysdeps/i386/bits/byteswap.h
@@ -83,9 +83,9 @@
 /* Swap bytes in 64 bit value.  */
 # define __bswap_64(x) \
      ({ union { unsigned long long int __ll;				      \
-		unsigned long int __l[2]; } __v, __r;			      \
-        __v.__ll = (x);							      \
-	__r.__l[0] = __bswap_32 (__v.__l[1]);				      \
-	__r.__l[1] = __bswap_32 (__v.__l[0]);				      \
+		unsigned long int __l[2]; } __w, __r;			      \
+        __w.__ll = (x);							      \
+	__r.__l[0] = __bswap_32 (__w.__l[1]);				      \
+	__r.__l[1] = __bswap_32 (__w.__l[0]);				      \
 	__r.__ll; })
 #endif