[dia] [warningectomy] make _node_get_real() static



commit 3fa431e1b1117ea8d9c12a5db74b59c8fe03c76d
Author: Hans Breuer <hans breuer org>
Date:   Sat Aug 17 21:43:05 2013 +0200

    [warningectomy] make _node_get_real() static
    
    svg-import.c:184:1: warning: no previous prototype for function '_node_get_real' [-Wmissing-prototypes]
    _node_get_real (xmlNodePtr node, const char *name, real defval)
    ^

 plug-ins/svg/svg-import.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/svg/svg-import.c b/plug-ins/svg/svg-import.c
index 37d5155..d092d75 100644
--- a/plug-ins/svg/svg-import.c
+++ b/plug-ins/svg/svg-import.c
@@ -180,7 +180,7 @@ static PropDescription svg_text_prop_descs[] = {
     PROP_DESC_END};
 
 
-real
+static real
 _node_get_real (xmlNodePtr node, const char *name, real defval)
 {
     real val = defval;


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