[gimp] nl-filt: Remove inline from functions



commit 1b52b1d3fa23263dc2b2d84d83a1f69f9c0eb9b9
Author: Mukund Sivaraman <muks banu com>
Date:   Sat Oct 8 18:18:32 2011 +0530

    nl-filt: Remove inline from functions

 plug-ins/common/nl-filter.c |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/plug-ins/common/nl-filter.c b/plug-ins/common/nl-filter.c
index b876a89..8121dbb 100644
--- a/plug-ins/common/nl-filter.c
+++ b/plug-ins/common/nl-filter.c
@@ -77,17 +77,17 @@ static void nlfilter            (GimpDrawable *drawable,
                                  GimpPreview  *preview);
 static gboolean nlfilter_dialog (GimpDrawable *drawable);
 
-static inline gint nlfiltInit   (gdouble       alpha,
-                                 gdouble       radius,
-                                 FilterType    filter);
-
-static inline void nlfiltRow    (guchar       *srclast,
-                                 guchar       *srcthis,
-                                 guchar       *srcnext,
-                                 guchar       *dst,
-                                 gint          width,
-                                 gint          bpp,
-                                 gint          filtno);
+static gint nlfiltInit   (gdouble       alpha,
+                          gdouble       radius,
+                          FilterType    filter);
+
+static void nlfiltRow    (guchar       *srclast,
+                          guchar       *srcthis,
+                          guchar       *srcnext,
+                          guchar       *dst,
+                          gint          width,
+                          gint          bpp,
+                          gint          filtno);
 
 const GimpPlugInInfo PLUG_IN_INFO =
 {
@@ -322,7 +322,7 @@ static gint noisevariance;
  * srclast, srcthis, and srcnext from [-bpp] to [width*bpp-1].
  * Beware if you use this code anywhere else!
  */
-static inline void
+static void
 nlfiltRow (guchar *srclast, guchar *srcthis, guchar *srcnext, guchar *dst,
            gint width, gint bpp, gint filtno)
 {
@@ -375,7 +375,7 @@ gint AVEDIV[7 * NOCSVAL];              /* divide by 7 to give average value */
 gint SQUARE[2 * NOCSVAL];              /* scaled square lookup table */
 
 /* Table initialisation function - return alpha range */
-static inline gint
+static gint
 nlfiltInit (gdouble alpha, gdouble radius, FilterType filter)
 {
    gint alpharange;                 /* alpha range value 0 - 3 */



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