Make xbps_read_dict_from_archive_entry() private to libxbps, as it's only used internally.

This commit is contained in:
Juan RP 2010-11-10 15:08:21 +01:00
parent 420225d414
commit 3b931475c0
2 changed files with 3 additions and 2 deletions

View File

@ -526,6 +526,7 @@ prop_dictionary_t xbps_get_pkg_dict_from_metadata_plist(const char *pkgn,
const char *plist); const char *plist);
/** /**
* @private
* Finds a proplib dictionary in an archive, matching a specific * Finds a proplib dictionary in an archive, matching a specific
* entry on it. * 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 * @return The proplib dictionary associated with entry, NULL otherwise
* and errno is set appropiately. * 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); struct archive_entry *entry);
/** /**

View File

@ -480,7 +480,7 @@ _xbps_uncompress_plist_data(char *xml, size_t len)
} }
#undef _READ_CHUNK #undef _READ_CHUNK
prop_dictionary_t prop_dictionary_t HIDDEN
xbps_read_dict_from_archive_entry(struct archive *ar, xbps_read_dict_from_archive_entry(struct archive *ar,
struct archive_entry *entry) struct archive_entry *entry)
{ {