Fix namespace violation
This commit is contained in:
@@ -47,9 +47,9 @@ struct CleanerCbInfo {
|
||||
static int
|
||||
idx_cleaner_cb(struct xbps_handle *xhp,
|
||||
xbps_object_t obj,
|
||||
const char *key _unused,
|
||||
const char *key UNUSED,
|
||||
void *arg,
|
||||
bool *done _unused)
|
||||
bool *done UNUSED)
|
||||
{
|
||||
struct CleanerCbInfo *info = arg;
|
||||
const char *arch, *pkgver, *sha256;
|
||||
|
@@ -65,7 +65,7 @@ remove_pkg(const char *repodir, const char *file)
|
||||
}
|
||||
|
||||
static int
|
||||
cleaner_cb(struct xbps_handle *xhp, xbps_object_t obj, const char *key _unused, void *arg, bool *done _unused)
|
||||
cleaner_cb(struct xbps_handle *xhp, xbps_object_t obj, const char *key UNUSED, void *arg, bool *done UNUSED)
|
||||
{
|
||||
struct xbps_repo *repo = ((struct xbps_repo **)arg)[0], *stage = ((struct xbps_repo **)arg)[1];
|
||||
const char *binpkg;
|
||||
|
Reference in New Issue
Block a user