[dia] [warningectomy] no previous prototype for 'calculate_relative_luminance'



commit 27d0a1d5d298a8b984bc57b63a4e57318f0b656e
Author: Hans Breuer <hans breuer org>
Date:   Sun Jan 30 17:02:19 2011 +0100

    [warningectomy] no previous prototype for 'calculate_relative_luminance'

 plug-ins/cairo/diacairo-interactive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/cairo/diacairo-interactive.c b/plug-ins/cairo/diacairo-interactive.c
index 3e64d61..63f17c4 100644
--- a/plug-ins/cairo/diacairo-interactive.c
+++ b/plug-ins/cairo/diacairo-interactive.c
@@ -176,7 +176,7 @@ get_text_width(DiaRenderer *object,
 /** Used as background? for text editing */
 static Color text_edit_color = {1.0, 1.0, 0.7 };
 
-real
+static real
 calculate_relative_luminance (const Color *c)
 {
   real R, G, B;



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