Simplify xbps_{un,}register_repository().
--HG-- extra : convert_revision : 95ac1ddedbc96fe3bf2a9dfe282c20385c8740ff
This commit is contained in:
@@ -34,11 +34,9 @@
|
||||
* Arguments:
|
||||
* - const char *: URI to (un)register.
|
||||
*
|
||||
* Returns true on success, or false and an appropiate errno value otherwise.
|
||||
* Returns 0 on success, or an appropiate value otherwise.
|
||||
*/
|
||||
bool xbps_register_repository(const char *);
|
||||
bool xbps_unregister_repository(const char *);
|
||||
|
||||
int xbps_remove_string_from_array(prop_object_t, void *, bool *);
|
||||
int xbps_register_repository(const char *);
|
||||
int xbps_unregister_repository(const char *);
|
||||
|
||||
#endif /* !_XBPS_REPOSITORY_H_ */
|
||||
|
||||
Reference in New Issue
Block a user