summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/byte-order.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/byte-order.h')
-rw-r--r--libglusterfs/src/byte-order.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/byte-order.h b/libglusterfs/src/byte-order.h
index 76387c38b2f..cf93a67386e 100644
--- a/libglusterfs/src/byte-order.h
+++ b/libglusterfs/src/byte-order.h
@@ -67,21 +67,21 @@ __swap64 (uint64_t x)
static inline uint16_t
__noswap16 (uint16_t x)
{
- return do_swap2(x);
+ return x;
}
static inline uint32_t
__noswap32 (uint32_t x)
{
- return do_swap4(x);
+ return x;
}
static inline uint64_t
__noswap64 (uint64_t x)
{
- return do_swap8(x);
+ return x;
}