Rename xbps_find_orphan_packages() to xbps_find_pkg_orphans().
This commit is contained in:
		| @@ -118,7 +118,7 @@ show_orphans(void) | ||||
| 	prop_object_t obj; | ||||
| 	const char *pkgver; | ||||
|  | ||||
| 	orphans = xbps_find_orphan_packages(); | ||||
| 	orphans = xbps_find_pkg_orphans(); | ||||
| 	if (orphans == NULL) | ||||
| 		return EINVAL; | ||||
|  | ||||
|   | ||||
| @@ -74,7 +74,7 @@ xbps_autoremove_pkgs(bool yes, bool purge) | ||||
| 	 * as dependency and any installed package does not depend | ||||
| 	 * on it currently. | ||||
| 	 */ | ||||
| 	orphans = xbps_find_orphan_packages(); | ||||
| 	orphans = xbps_find_pkg_orphans(); | ||||
| 	if (orphans == NULL) | ||||
| 		return errno; | ||||
|  | ||||
|   | ||||
| @@ -303,7 +303,7 @@ const char *xbps_fetch_error_string(void); | ||||
|  * @return A proplib array of dictionaries with all orphans found, | ||||
|  * on error NULL is returned and errno is set appropiately. | ||||
|  */ | ||||
| prop_array_t xbps_find_orphan_packages(void); | ||||
| prop_array_t xbps_find_pkg_orphans(void); | ||||
|  | ||||
| /** | ||||
|  * @ingroup vermatch | ||||
|   | ||||
| @@ -43,7 +43,7 @@ | ||||
|  * but currently no other packages are depending on. | ||||
|  * | ||||
|  * The following image shown below shows the registered packages database | ||||
|  * dictionary (the array returned by xbps_find_orphan_packages() will | ||||
|  * dictionary (the array returned by xbps_find_pkg_orphans() will | ||||
|  * contain a package dictionary per orphan found): | ||||
|  * | ||||
|  * @image html images/xbps_regpkgdb_dictionary.png | ||||
| @@ -133,7 +133,7 @@ find_orphan_pkg(prop_object_t obj, void *arg, bool *loop_done) | ||||
| } | ||||
|  | ||||
| prop_array_t | ||||
| xbps_find_orphan_packages(void) | ||||
| xbps_find_pkg_orphans(void) | ||||
| { | ||||
| 	prop_array_t array; | ||||
| 	prop_dictionary_t dict; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user