[gegl] Fix inline declaration style



commit 82c62c669eb7e738bbaf6aaf4ebca0c465a9617a
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Jul 29 15:27:39 2010 +0530

    Fix inline declaration style

 gegl/buffer/gegl-buffer-access.c        |    2 +-
 gegl/buffer/gegl-sampler-upsharp.c      |    2 +-
 gegl/buffer/gegl-sampler-upsmooth.c     |    2 +-
 gegl/buffer/gegl-tile-backend-file.c    |    4 ++--
 gegl/buffer/gegl-tile-backend-ram.c     |    4 ++--
 gegl/buffer/gegl-tile-backend-tiledir.c |    4 ++--
 gegl/buffer/gegl-tile-handler-zoom.c    |    2 +-
 operations/common/box-blur.c            |    2 +-
 8 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-access.c b/gegl/buffer/gegl-buffer-access.c
index de729d4..8f4df39 100644
--- a/gegl/buffer/gegl-buffer-access.c
+++ b/gegl/buffer/gegl-buffer-access.c
@@ -317,7 +317,7 @@ gegl_buffer_flush (GeglBuffer *buffer)
 
 
 
-static void inline
+static inline void
 gegl_buffer_iterate (GeglBuffer          *buffer,
                      const GeglRectangle *roi, /* or NULL for extent */
                      guchar              *buf,
diff --git a/gegl/buffer/gegl-sampler-upsharp.c b/gegl/buffer/gegl-sampler-upsharp.c
index 1212f25..cacbf89 100644
--- a/gegl/buffer/gegl-sampler-upsharp.c
+++ b/gegl/buffer/gegl-sampler-upsharp.c
@@ -283,7 +283,7 @@ gegl_sampler_upsharp_init (GeglSamplerUpsharp *self)
   GEGL_SAMPLER (self)->interpolate_format = babl_format ("RaGaBaA float");
 }
 
-static void inline
+static inline void
 nohalo_step1 (const gfloat           uno_thr,
               const gfloat           uno_fou,
               const gfloat           dos_two,
diff --git a/gegl/buffer/gegl-sampler-upsmooth.c b/gegl/buffer/gegl-sampler-upsmooth.c
index 740c653..7a9958c 100644
--- a/gegl/buffer/gegl-sampler-upsmooth.c
+++ b/gegl/buffer/gegl-sampler-upsmooth.c
@@ -173,7 +173,7 @@ gegl_sampler_upsmooth_init (GeglSamplerUpsmooth *self)
   GEGL_SAMPLER (self)->interpolate_format = babl_format ("RaGaBaA float");
 }
 
-static void inline
+static inline void
 snohalo_step1 (const gfloat           cer_thr_in,
                const gfloat           cer_fou_in,
                const gfloat           uno_two_in,
diff --git a/gegl/buffer/gegl-tile-backend-file.c b/gegl/buffer/gegl-tile-backend-file.c
index a71f7a9..3c113cc 100644
--- a/gegl/buffer/gegl-tile-backend-file.c
+++ b/gegl/buffer/gegl-tile-backend-file.c
@@ -127,7 +127,7 @@ static void     gegl_tile_backend_file_dbg_alloc    (int                  size);
 static void     gegl_tile_backend_file_dbg_dealloc  (int                  size);
 
 
-static void inline
+static inline void
 gegl_tile_backend_file_file_entry_read (GeglTileBackendFile *self,
                                         GeglBufferTile      *entry,
                                         guchar              *dest)
@@ -178,7 +178,7 @@ gegl_tile_backend_file_file_entry_read (GeglTileBackendFile *self,
   GEGL_NOTE (GEGL_DEBUG_TILE_BACKEND, "read entry %i,%i,%i at %i", entry->x, entry->y, entry->z, (gint)offset);
 }
 
-static void inline
+static inline void
 gegl_tile_backend_file_file_entry_write (GeglTileBackendFile *self,
                                          GeglBufferTile      *entry,
                                          guchar              *source)
diff --git a/gegl/buffer/gegl-tile-backend-ram.c b/gegl/buffer/gegl-tile-backend-ram.c
index 6b117ce..1e335fd 100644
--- a/gegl/buffer/gegl-tile-backend-ram.c
+++ b/gegl/buffer/gegl-tile-backend-ram.c
@@ -45,7 +45,7 @@ struct _RamEntry
   guchar *offset;
 };
 
-static void inline
+static inline void
 ram_entry_read (GeglTileBackendRam *ram,
                 RamEntry           *entry,
                 guchar             *dest)
@@ -55,7 +55,7 @@ ram_entry_read (GeglTileBackendRam *ram,
   memcpy (dest, entry->offset, tile_size);
 }
 
-static void inline
+static inline void
 ram_entry_write (GeglTileBackendRam *ram,
                  RamEntry           *entry,
                  guchar             *source)
diff --git a/gegl/buffer/gegl-tile-backend-tiledir.c b/gegl/buffer/gegl-tile-backend-tiledir.c
index 51db83d..0046941 100644
--- a/gegl/buffer/gegl-tile-backend-tiledir.c
+++ b/gegl/buffer/gegl-tile-backend-tiledir.c
@@ -67,7 +67,7 @@ static GFile *make_tile_file (GeglTileBackendTileDir *gio,
   return g_file_get_child (gio->buffer_dir, buf);
 }
 
-static void inline
+static inline void
 gio_entry_read (GeglTileBackendTileDir *gio,
                 GioEntry                *entry,
                 guchar                  *dest)
@@ -89,7 +89,7 @@ gio_entry_read (GeglTileBackendTileDir *gio,
   g_object_unref (G_OBJECT (file));
 }
 
-static void inline
+static inline void
 gio_entry_write (GeglTileBackendTileDir *gio,
                  GioEntry                *entry,
                  guchar                  *source)
diff --git a/gegl/buffer/gegl-tile-handler-zoom.c b/gegl/buffer/gegl-tile-handler-zoom.c
index 597acbf..dc2f07d 100644
--- a/gegl/buffer/gegl-tile-handler-zoom.c
+++ b/gegl/buffer/gegl-tile-handler-zoom.c
@@ -161,7 +161,7 @@ downscale_u8 (gint    components,
     }
 }
 
-static void inline set_half (GeglTile * dst_tile,
+static inline void set_half (GeglTile * dst_tile,
                              GeglTile * src_tile,
                              gint       width,
                              gint       height,
diff --git a/operations/common/box-blur.c b/operations/common/box-blur.c
index daf2fac..6cb3b2e 100644
--- a/operations/common/box-blur.c
+++ b/operations/common/box-blur.c
@@ -70,7 +70,7 @@ get_mean_component (gfloat *buf,
 }
 #endif
 
-static void inline
+static inline void
 get_mean_components (gfloat *buf,
                      gint    buf_width,
                      gint    buf_height,



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