diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2022-07-18 13:02:19 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2022-07-18 17:23:15 +0200 |
commit | 9e8601c46482664a543e35545a921c96ad9adbc6 (patch) | |
tree | 868cd6feb36d556431ae9f55294dd561946c9b26 /scripts/cocci-macro-file.h | |
parent | b9e3ab53e5929527cf3bf7eda8b7f20ea0472124 (diff) | |
download | libvirt-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.h | 2 |
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) |