qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 1/2] bswap.h: export bswap_le


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH 1/2] bswap.h: export bswap_le
Date: Mon, 10 Mar 2014 21:43:21 +0200

it's a handy API for cases where we want to
get size in bits as a parameter.

Signed-off-by: Michael S. Tsirkin <address@hidden>
---
 include/qemu/bswap.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index 0cb7c05..4489ad9 100644
--- a/include/qemu/bswap.h
+++ b/include/qemu/bswap.h
@@ -423,9 +423,4 @@ static inline unsigned long leul_to_cpu(unsigned long v)
 #endif
 }
 
-#undef le_bswap
-#undef be_bswap
-#undef le_bswaps
-#undef be_bswaps
-
 #endif /* BSWAP_H */
-- 
MST




reply via email to

[Prev in Thread] Current Thread [Next in Thread]