aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libctf/ChangeLog4
-rw-r--r--libctf/swap.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog
index 9da5827..5f7bdf3 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -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>
Binutils 2.34 branch created.
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;