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

@@ -36,11 +36,11 @@
#include "defs.h"
static int
pkgdb_cb(struct xbps_handle *xhp _unused,
pkgdb_cb(struct xbps_handle *xhp UNUSED,
xbps_object_t obj,
const char *key _unused,
const char *key UNUSED,
void *arg,
bool *done _unused)
bool *done UNUSED)
{
const char *pkgver;
char *pkgname;

View File

@@ -43,7 +43,7 @@
* and remove them if that was true.
*/
int
check_pkg_unneeded(struct xbps_handle *xhp _unused, const char *pkgname, void *arg)
check_pkg_unneeded(struct xbps_handle *xhp UNUSED, const char *pkgname, void *arg)
{
xbps_array_t replaces;
xbps_dictionary_t pkgd = arg;