pdr: Deprecate is_present()
It's likely the case that this was never meant to be part of the public
ABI and should have been marked static. Deprecate it so we can take such
a course of action.
Change-Id: Id9447159ad261a32842dd4bc80bb5ac8245afa42
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 954da3c..e4eba1e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -77,6 +77,12 @@
Migrate to pldm_bios_table_attr_value_entry_encode_integer_check()
+5. pdr: Deprecate is_present()
+
+ There should be no users of this symbol. If you are a user, you should figure
+ out how to stop, or get in touch. This symbol will be marked static the
+ release after deprecation.
+
### Removed
1. bios_table: Remove deprecated APIs sanitized by assert():
diff --git a/src/pdr.c b/src/pdr.c
index 5cb72f6..bacdd5d 100644
--- a/src/pdr.c
+++ b/src/pdr.c
@@ -872,7 +872,7 @@
}
}
-LIBPLDM_ABI_STABLE
+LIBPLDM_ABI_DEPRECATED
bool is_present(pldm_entity entity, pldm_entity **entities, size_t num_entities)
{
if (entities == NULL || num_entities == 0) {