[babl] extensions: gegl-fixups: mark unused functions with attribute
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] extensions: gegl-fixups: mark unused functions with attribute
- Date: Fri, 26 Aug 2016 02:47:07 +0000 (UTC)
commit 7fcabe926b239392a1b858d89ff621efea554fce
Author: Roman Lebedev <lebedev ri gmail com>
Date: Sun Aug 21 14:08:37 2016 +0300
extensions: gegl-fixups: mark unused functions with attribute
extensions/gegl-fixups.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/extensions/gegl-fixups.c b/extensions/gegl-fixups.c
index c1f91ca..a27915e 100644
--- a/extensions/gegl-fixups.c
+++ b/extensions/gegl-fixups.c
@@ -181,7 +181,7 @@ conv_F_8g (unsigned char *src, unsigned char *dst, long samples)
}
-static INLINE long
+static INLINE long __attribute__((unused))
conv_8_F (unsigned char *src, unsigned char *dst, long samples)
{
long n = samples;
@@ -226,7 +226,7 @@ conv_rgbaF_rgb8 (unsigned char *src, unsigned char *dst, long samples)
}
-static INLINE long
+static INLINE long __attribute__((unused))
conv_rgbaF_rgba8 (unsigned char *src, unsigned char *dst, long samples)
{
long n = samples;
@@ -258,14 +258,14 @@ conv_rgbaF_rgba8 (unsigned char *src, unsigned char *dst, long samples)
#define conv_rgbaF_rgbP8 conv_rgbaF_rgba8
-static INLINE long
+static INLINE long __attribute__((unused))
conv_rgbF_rgb8 (unsigned char *src, unsigned char *dst, long samples)
{
conv_F_8g (src, dst, samples * 3);
return samples;
}
-static INLINE long
+static INLINE long __attribute__((unused))
conv_gaF_ga8 (unsigned char *src, unsigned char *dst, long samples)
{
conv_F_8 (src, dst, samples * 2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]