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

@@ -60,7 +60,7 @@
*/
xbps_array_t
xbps_find_pkg_orphans(struct xbps_handle *xhp, xbps_array_t orphans_user _unused)
xbps_find_pkg_orphans(struct xbps_handle *xhp, xbps_array_t orphans_user UNUSED)
{
xbps_array_t rdeps, reqby, array = NULL;
xbps_dictionary_t pkgd, deppkgd;

View File

@@ -46,7 +46,7 @@ struct fetch_archive {
};
static int
fetch_archive_open(struct archive *a _unused, void *client_data)
fetch_archive_open(struct archive *a UNUSED, void *client_data)
{
struct fetch_archive *f = client_data;
@@ -59,7 +59,7 @@ fetch_archive_open(struct archive *a _unused, void *client_data)
}
static ssize_t
fetch_archive_read(struct archive *a _unused, void *client_data, const void **buf)
fetch_archive_read(struct archive *a UNUSED, void *client_data, const void **buf)
{
struct fetch_archive *f = client_data;
@@ -68,7 +68,7 @@ fetch_archive_read(struct archive *a _unused, void *client_data, const void **bu
}
static int
fetch_archive_close(struct archive *a _unused, void *client_data)
fetch_archive_close(struct archive *a UNUSED, void *client_data)
{
struct fetch_archive *f = client_data;

View File

@@ -120,7 +120,7 @@ xbps_rpool_get_repo(const char *url)
}
void
xbps_rpool_release(struct xbps_handle *xhp _unused)
xbps_rpool_release(struct xbps_handle *xhp UNUSED)
{
struct xbps_repo *repo;
@@ -195,7 +195,7 @@ find_pkg_cb(struct xbps_repo *repo, void *arg, bool *done)
}
static int
find_pkg_revdeps_cb(struct xbps_repo *repo, void *arg, bool *done _unused)
find_pkg_revdeps_cb(struct xbps_repo *repo, void *arg, bool *done UNUSED)
{
struct rpool_fpkg *rpf = arg;
xbps_array_t revdeps = NULL;
@@ -216,7 +216,7 @@ find_pkg_revdeps_cb(struct xbps_repo *repo, void *arg, bool *done _unused)
}
static int
find_best_pkg_cb(struct xbps_repo *repo, void *arg, bool *done _unused)
find_best_pkg_cb(struct xbps_repo *repo, void *arg, bool *done UNUSED)
{
struct rpool_fpkg *rpf = arg;
xbps_dictionary_t pkgd;

View File

@@ -148,7 +148,7 @@ pkg_conflicts_trans(struct xbps_handle *xhp, xbps_array_t array,
static int
pkgdb_conflicts_cb(struct xbps_handle *xhp, xbps_object_t obj,
const char *key _unused, void *arg, bool *done _unused)
const char *key UNUSED, void *arg, bool *done UNUSED)
{
xbps_array_t pkg_cflicts, trans_cflicts, pkgs = arg;
xbps_dictionary_t pkgd;