From 119789424b62321e74a18fc1c088ebf479d999c4 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 5 Mar 2020 14:27:08 -0800 Subject: libctf: Mark bswap_identity_64 inline function as static. This is similar to cbbbc402e059ee345cb781d3ceb757ae1cc679ee and fixes a link error with duplicately defined symbols on FreeBSD. libctf/ChangeLog: * swap.h (bswap_identity_64): Make static. --- libctf/swap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libctf/swap.h') diff --git a/libctf/swap.h b/libctf/swap.h index f8cc822..d526f7e 100644 --- a/libctf/swap.h +++ b/libctf/swap.h @@ -43,7 +43,7 @@ bswap_32 (uint32_t v) | ((v & 0x000000ff) << 24)); } -inline uint64_t +static inline uint64_t bswap_identity_64 (uint64_t v) { return v; -- cgit v1.1