utils: Deprecate is_transfer_flag_valid()
It isn't used in any OpenBMC repositories depending on libpldm. Likely
it should have been internal, but it was exposed in a public header from
the beginning. Start the process of removing it from the public API.
Change-Id: Ib215c3a8e5df1de067804e63b7034dbec5243658
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 48fb5e8..259f96c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,7 @@
### Deprecated
- utils: Deprecate `is_time_legal()`
+- utils: Deprecate `is_transfer_flag_valid()`
### Removed
diff --git a/src/utils.c b/src/utils.c
index b884cca..5e92cbf 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -251,7 +251,7 @@
return true;
}
-LIBPLDM_ABI_STABLE
+LIBPLDM_ABI_DEPRECATED
bool is_transfer_flag_valid(uint8_t transfer_flag)
{
switch (transfer_flag) {