xbps_end: don't continue if we don't have a valid xbps_handle pointer.

This commit is contained in:
Juan RP
2011-12-22 16:55:35 +01:00
parent 3d81d497bd
commit ca0905925f
4 changed files with 11 additions and 14 deletions

View File

@ -71,15 +71,15 @@ int HIDDEN dewey_match(const char *, const char *);
* @private
* From lib/regpkgdb_dictionary.c
*/
int HIDDEN xbps_regpkgdb_dictionary_init(struct xbps_handle *xhp);
void HIDDEN xbps_regpkgdb_dictionary_release(void);
int HIDDEN xbps_regpkgdb_dictionary_init(struct xbps_handle *);
void HIDDEN xbps_regpkgdb_dictionary_release(struct xbps_handle *);
/**
* @private
* From lib/repository_pool.c
*/
int HIDDEN xbps_repository_pool_init(struct xbps_handle *);
void HIDDEN xbps_repository_pool_release(void);
void HIDDEN xbps_repository_pool_release(struct xbps_handle *);
/**
* @private