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

@@ -68,7 +68,7 @@ usage(bool fail)
}
static void
unpack_progress_cb(const struct xbps_unpack_cb_data *xpd, void *cbdata _unused)
unpack_progress_cb(const struct xbps_unpack_cb_data *xpd, void *cbdata UNUSED)
{
if (xpd->entry == NULL || xpd->entry_total_count <= 0)
return;
@@ -80,7 +80,7 @@ unpack_progress_cb(const struct xbps_unpack_cb_data *xpd, void *cbdata _unused)
}
static int
repo_import_key_cb(struct xbps_repo *repo, void *arg _unused, bool *done _unused)
repo_import_key_cb(struct xbps_repo *repo, void *arg UNUSED, bool *done UNUSED)
{
int rv;

View File

@@ -32,7 +32,7 @@
#include "defs.h"
int
state_cb(const struct xbps_state_cb_data *xscd, void *cbdata _unused)
state_cb(const struct xbps_state_cb_data *xscd, void *cbdata UNUSED)
{
xbps_dictionary_t pkgd;
const char *instver, *newver;