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:
Ingo Weinhold 2008-05-29 20:52:43 +00:00
parent 72e3b6ffd3
commit 42d3fc045e
2 changed files with 30 additions and 0 deletions

View File

@ -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

View 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);
}