mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
util: virpcivpd: Unexport 'virPCIVPDParseVPDLargeResourceString'
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
78e17cd550
commit
810a3ca980
@ -3700,7 +3700,6 @@ virVHBAPathExists;
|
||||
# util/virpcivpd.h
|
||||
|
||||
virPCIVPDParse;
|
||||
virPCIVPDParseVPDLargeResourceString;
|
||||
virPCIVPDResourceCustomCompareIndex;
|
||||
virPCIVPDResourceCustomFree;
|
||||
virPCIVPDResourceCustomUpsertValue;
|
||||
|
@ -595,7 +595,7 @@ virPCIVPDParseVPDLargeResourceFields(int vpdFileFd, uint16_t resPos, uint16_t re
|
||||
* Returns: a pointer to a VPDResource which needs to be freed by the caller or
|
||||
* NULL if getting it failed for some reason.
|
||||
*/
|
||||
bool
|
||||
static bool
|
||||
virPCIVPDParseVPDLargeResourceString(int vpdFileFd, uint16_t resPos,
|
||||
uint16_t resDataLen, uint8_t *csum, virPCIVPDResource *res)
|
||||
{
|
||||
@ -732,18 +732,6 @@ virPCIVPDParse(int vpdFileFd)
|
||||
|
||||
#else /* ! __linux__ */
|
||||
|
||||
bool
|
||||
virPCIVPDParseVPDLargeResourceString(int vpdFileFd G_GNUC_UNUSED,
|
||||
uint16_t resPos G_GNUC_UNUSED,
|
||||
uint16_t resDataLen G_GNUC_UNUSED,
|
||||
uint8_t *csum G_GNUC_UNUSED,
|
||||
virPCIVPDResource *res G_GNUC_UNUSED)
|
||||
{
|
||||
virReportError(VIR_ERR_NO_SUPPORT, "%s",
|
||||
_("PCI VPD reporting not available on this platform"));
|
||||
return false;
|
||||
}
|
||||
|
||||
virPCIVPDResource *
|
||||
virPCIVPDParse(int vpdFileFd G_GNUC_UNUSED)
|
||||
{
|
||||
|
@ -68,6 +68,3 @@ virPCIVPDResourceCustomCompareIndex(virPCIVPDResourceCustom *a, virPCIVPDResourc
|
||||
|
||||
bool
|
||||
virPCIVPDResourceCustomUpsertValue(GPtrArray *arr, char index, const char *const value);
|
||||
|
||||
bool virPCIVPDParseVPDLargeResourceString(int vpdFileFd, uint16_t resPos, uint16_t resDataLen,
|
||||
uint8_t *csum, virPCIVPDResource *res);
|
||||
|
Loading…
x
Reference in New Issue
Block a user