summaryrefslogtreecommitdiff
path: root/src/util/virinitctl.c
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2019-10-14 14:45:33 +0200
committerJán Tomko <jtomko@redhat.com>2019-10-15 11:25:25 +0200
commit679f8b3994457f7801b470b7c6a3379d844d0f79 (patch)
treec7971b9e4e40f9fc2ebcfd201b2d8f7f1e3a050a /src/util/virinitctl.c
parent123196aa053295aaa1682036adc348da781c3883 (diff)
downloadlibvirt-679f8b3994457f7801b470b7c6a3379d844d0f79.tar.gz
util: 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 'src/util/virinitctl.c')
-rw-r--r--src/util/virinitctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/virinitctl.c b/src/util/virinitctl.c
index 6966e8a3e9..955e8f398e 100644
--- a/src/util/virinitctl.c
+++ b/src/util/virinitctl.c
@@ -189,8 +189,8 @@ const char *virInitctlFifos[] = {
NULL
};
-int virInitctlSetRunLevel(const char *fifo ATTRIBUTE_UNUSED,
- virInitctlRunLevel level ATTRIBUTE_UNUSED)
+int virInitctlSetRunLevel(const char *fifo G_GNUC_UNUSED,
+ virInitctlRunLevel level G_GNUC_UNUSED)
{
virReportUnsupportedError();
return -1;