From 9e8601c46482664a543e35545a921c96ad9adbc6 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 18 Jul 2022 13:02:19 +0200 Subject: 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 Reviewed-by: Pavel Hrdina --- scripts/cocci-macro-file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/cocci-macro-file.h') 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) -- cgit v1.2.1