summaryrefslogtreecommitdiff
path: root/scripts/cocci-macro-file.h
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2022-07-18 13:02:19 +0200
committerMichal Privoznik <mprivozn@redhat.com>2022-07-18 17:23:15 +0200
commit9e8601c46482664a543e35545a921c96ad9adbc6 (patch)
tree868cd6feb36d556431ae9f55294dd561946c9b26 /scripts/cocci-macro-file.h
parentb9e3ab53e5929527cf3bf7eda8b7f20ea0472124 (diff)
downloadlibvirt-9e8601c46482664a543e35545a921c96ad9adbc6.tar.gz
lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE
The G_GNUC_NO_INLINE macro will eventually be marked as deprecated [1] and we are recommended to use G_NO_INLINE instead. Do the switch now, rather than waiting for compile time warning to occur. 1: https://gitlab.gnome.org/GNOME/glib/-/commit/15cd0f04612c90292792c4d123ebe84bf4bf93a6 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'scripts/cocci-macro-file.h')
-rw-r--r--scripts/cocci-macro-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cocci-macro-file.h b/scripts/cocci-macro-file.h
index 4e6d218a97..c3112663d1 100644
--- a/scripts/cocci-macro-file.h
+++ b/scripts/cocci-macro-file.h
@@ -28,7 +28,7 @@
#define G_GNUC_UNUSED
#define G_GNUC_NULL_TERMINATED
#define G_GNUC_NORETURN
-#define G_GNUC_NO_INLINE
+#define G_NO_INLINE
#define G_GNUC_FALLTHROUGH
#define G_GNUC_PRINTF(a, b)