summaryrefslogtreecommitdiff
path: root/tests/nsslinktest.c
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2019-10-14 14:45:03 +0200
committerJán Tomko <jtomko@redhat.com>2019-10-15 11:25:25 +0200
commit0d94f02455074e6a1f35dc4862dce2ca7256e377 (patch)
tree3a147656007e159f90fab2ae3ad63fb3d7942e9b /tests/nsslinktest.c
parent7c655468e8e8b0acfeedc93874ac981710dd7969 (diff)
downloadlibvirt-0d94f02455074e6a1f35dc4862dce2ca7256e377.tar.gz
tests: use G_GNUC_UNUSED
Use G_GNUC_UNUSED from GLib instead of ATTRIBUTE_UNUSED. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'tests/nsslinktest.c')
-rw-r--r--tests/nsslinktest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nsslinktest.c b/tests/nsslinktest.c
index 5d7d36da9e..a2c4987792 100644
--- a/tests/nsslinktest.c
+++ b/tests/nsslinktest.c
@@ -21,8 +21,8 @@
#include "internal.h"
#include "libvirt_nss.h"
-int main(int argc ATTRIBUTE_UNUSED,
- char *argv[] ATTRIBUTE_UNUSED)
+int main(int argc G_GNUC_UNUSED,
+ char *argv[] G_GNUC_UNUSED)
{
int err, herrno; /* Dummy variables to prevent SIGSEGV */