projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re: x86: Don't disable SSE4a when disabling SSE4
[deliverable/binutils-gdb.git]
/
libctf
/
swap.h
diff --git
a/libctf/swap.h
b/libctf/swap.h
index e75e8d408a95bd7ba16a8d9939e1f89628c2a23b..f8cc822db2eb2511052565828fdf83627d2d89c3 100644
(file)
--- a/
libctf/swap.h
+++ b/
libctf/swap.h
@@
-1,5
+1,5
@@
/* Interface to byteswapping functions.
/* Interface to byteswapping functions.
- Copyright (C) 2006-20
19
Free Software Foundation, Inc.
+ Copyright (C) 2006-20
20
Free Software Foundation, Inc.
This file is part of libctf.
This file is part of libctf.
@@
-28,13
+28,13
@@
#else
/* Provide our own versions of the byteswap functions. */
#else
/* Provide our own versions of the byteswap functions. */
-inline uint16_t
+
static
inline uint16_t
bswap_16 (uint16_t v)
{
return ((v >> 8) & 0xff) | ((v & 0xff) << 8);
}
bswap_16 (uint16_t v)
{
return ((v >> 8) & 0xff) | ((v & 0xff) << 8);
}
-inline uint32_t
+
static
inline uint32_t
bswap_32 (uint32_t v)
{
return ( ((v & 0xff000000) >> 24)
bswap_32 (uint32_t v)
{
return ( ((v & 0xff000000) >> 24)
@@
-49,7
+49,7
@@
bswap_identity_64 (uint64_t v)
return v;
}
return v;
}
-inline uint64_t
+
static
inline uint64_t
bswap_64 (uint64_t v)
{
return ( ((v & 0xff00000000000000ULL) >> 56)
bswap_64 (uint64_t v)
{
return ( ((v & 0xff00000000000000ULL) >> 56)
This page took
0.023173 seconds
and
4
git commands to generate.