Fix namespace violation

This commit is contained in:
Foxlet
2018-07-17 22:24:26 -04:00
committed by Toyam Cox
parent ac5776b9f5
commit 0f33859701
20 changed files with 56 additions and 56 deletions

View File

@@ -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;

View File

@@ -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;