[gegl] gegl-compression: replace GCC attributes with equivalent GLib macros



commit 9fb53808da7a37ee0638da2e446338ccd778afb2
Author: Ell <ell_se yahoo com>
Date:   Mon Dec 17 10:23:24 2018 -0500

    gegl-compression: replace GCC attributes with equivalent GLib macros

 gegl/buffer/gegl-compression-rle.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-compression-rle.c b/gegl/buffer/gegl-compression-rle.c
index 053db07ee..9114ff8f2 100644
--- a/gegl/buffer/gegl-compression-rle.c
+++ b/gegl/buffer/gegl-compression-rle.c
@@ -41,7 +41,8 @@
 
 /*  private functions  */
 
-static gboolean __attribute__ ((noinline))
+G_GNUC_NO_INLINE
+static gboolean
 gegl_compression_rle_compress_pass (const guint8 *data,
                                     gint          n,
                                     gint          shift,
@@ -310,7 +311,8 @@ end:
 
 /*  private functions  */
 
-static void __attribute__ ((noinline))
+G_GNUC_NO_INLINE
+static void
 gegl_compression_rle_decompress_pass (guint8        *data,
                                       gint           n,
                                       gint           bpp,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]