libctf: Mark bswap_identity_64 inline function as static.
This is similar to cbbbc402e0
and fixes
a link error with duplicately defined symbols on FreeBSD.
libctf/ChangeLog:
* swap.h (bswap_identity_64): Make static.
This commit is contained in:
parent
435edf0bf2
commit
119789424b
@ -1,3 +1,7 @@
|
|||||||
|
2020-03-11 John Baldwin <jhb@FreeBSD.org>
|
||||||
|
|
||||||
|
* swap.h (bswap_identity_64): Make static.
|
||||||
|
|
||||||
2020-01-18 Nick Clifton <nickc@redhat.com>
|
2020-01-18 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
Binutils 2.34 branch created.
|
Binutils 2.34 branch created.
|
||||||
|
@ -43,7 +43,7 @@ bswap_32 (uint32_t v)
|
|||||||
| ((v & 0x000000ff) << 24));
|
| ((v & 0x000000ff) << 24));
|
||||||
}
|
}
|
||||||
|
|
||||||
inline uint64_t
|
static inline uint64_t
|
||||||
bswap_identity_64 (uint64_t v)
|
bswap_identity_64 (uint64_t v)
|
||||||
{
|
{
|
||||||
return v;
|
return v;
|
||||||
|
Loading…
Reference in New Issue
Block a user