diff --git a/include/xbps_api.h b/include/xbps_api.h index f195f2ab..beabb59d 100644 --- a/include/xbps_api.h +++ b/include/xbps_api.h @@ -526,6 +526,7 @@ prop_dictionary_t xbps_get_pkg_dict_from_metadata_plist(const char *pkgn, const char *plist); /** + * @private * Finds a proplib dictionary in an archive, matching a specific * entry on it. * @@ -535,7 +536,7 @@ prop_dictionary_t xbps_get_pkg_dict_from_metadata_plist(const char *pkgn, * @return The proplib dictionary associated with entry, NULL otherwise * and errno is set appropiately. */ -prop_dictionary_t xbps_read_dict_from_archive_entry(struct archive *ar, +prop_dictionary_t HIDDEN xbps_read_dict_from_archive_entry(struct archive *ar, struct archive_entry *entry); /** diff --git a/lib/plist.c b/lib/plist.c index f77a3685..21a3c42e 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -480,7 +480,7 @@ _xbps_uncompress_plist_data(char *xml, size_t len) } #undef _READ_CHUNK -prop_dictionary_t +prop_dictionary_t HIDDEN xbps_read_dict_from_archive_entry(struct archive *ar, struct archive_entry *entry) {