xref: /haiku/src/tools/fs_shell/byte_order.cpp (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 /*
2  * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 #include "compatibility.h"
7 
8 #include <ByteOrder.h>
9 
10 #include "fssh_byte_order.h"
11 
12 
13 uint16_t
14 __fssh_swap_int16(uint16_t value)
15 {
16 	return __swap_int16(value);
17 }
18 
19 uint32_t
20 __fssh_swap_int32(uint32_t value)
21 {
22 	return __swap_int32(value);
23 }
24 
25 uint64_t
26 __fssh_swap_int64(uint64_t value)
27 {
28 	return __swap_int64(value);
29 }
30