Added implementations for the __fssh_swap_int*() functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
72e3b6ffd3
commit
42d3fc045e
@ -32,6 +32,7 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
||||
BuildPlatformStaticLibrary <build>fs_shell.a :
|
||||
atomic.cpp
|
||||
block_cache.cpp
|
||||
byte_order.cpp
|
||||
command_cp.cpp
|
||||
disk_device_manager.cpp
|
||||
driver_settings.cpp
|
||||
|
29
src/tools/fs_shell/byte_order.cpp
Normal file
29
src/tools/fs_shell/byte_order.cpp
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#include "compatibility.h"
|
||||
|
||||
#include <ByteOrder.h>
|
||||
|
||||
#include "fssh_byte_order.h"
|
||||
|
||||
|
||||
uint16_t
|
||||
__fssh_swap_int16(uint16_t value)
|
||||
{
|
||||
return __swap_int16(value);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
__fssh_swap_int32(uint32_t value)
|
||||
{
|
||||
return __swap_int32(value);
|
||||
}
|
||||
|
||||
uint64_t
|
||||
__fssh_swap_int64(uint64_t value)
|
||||
{
|
||||
return __swap_int64(value);
|
||||
}
|
Loading…
Reference in New Issue
Block a user