[dia] [warningectomy] No previous prototype (missing static)



commit eadfd7dede07a08878f5e86784a81af7830a6975
Author: Hans Breuer <hans breuer org>
Date:   Sat Sep 27 22:39:52 2014 +0200

    [warningectomy] No previous prototype (missing static)
    
    ../../lib/prop_pixbuf.c:200:1: warning: no previous prototype for '_make_pixbuf_type_name' 
[-Wmissing-prototypes]
     _make_pixbuf_type_name (const char *p)
     ^

 lib/prop_pixbuf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/prop_pixbuf.c b/lib/prop_pixbuf.c
index 6ba29c5..47487e5 100644
--- a/lib/prop_pixbuf.c
+++ b/lib/prop_pixbuf.c
@@ -196,7 +196,7 @@ _pixbuf_encode (const gchar *buf,
   return TRUE;
 }
 
-const gchar *
+static const gchar *
 _make_pixbuf_type_name (const char *p)
 {
   if (p && strstr (p, "image/jpeg"))


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