[dia] [warningectomy] no previous prototype for ...
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] no previous prototype for ...
- Date: Sat, 4 May 2013 18:59:10 +0000 (UTC)
commit fd0a9364d6699de25f1eb618d33ff4a44b46bfdf
Author: Hans Breuer <hans breuer org>
Date: Fri May 3 21:23:25 2013 +0200
[warningectomy] no previous prototype for ...
usually is missing static or include
app/disp_callbacks.c | 1 +
lib/diacontext.c | 1 +
lib/prop_sdarray_widget.c | 1 +
plug-ins/svg/svg-import.c | 4 ++--
4 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/app/disp_callbacks.c b/app/disp_callbacks.c
index 5021f47..f800881 100644
--- a/app/disp_callbacks.c
+++ b/app/disp_callbacks.c
@@ -45,6 +45,7 @@
#include "lib/parent.h"
#include "dia_dirs.h"
#include "object.h"
+#include "disp_callbacks.h"
typedef struct {
GdkEvent *event; /* Button down event which may be holding */
diff --git a/lib/diacontext.c b/lib/diacontext.c
index f214647..dda472d 100644
--- a/lib/diacontext.c
+++ b/lib/diacontext.c
@@ -53,6 +53,7 @@ struct _DiaContextClass
/* The use of GObject is intentionally hidden from the API */
static void _dia_context_finalize (GObject *object);
+static GType _dia_context_get_type (void);
G_DEFINE_TYPE (DiaContext, _dia_context, DIA_TYPE_CONTEXT);
static gpointer parent_class = NULL;
diff --git a/lib/prop_sdarray_widget.c b/lib/prop_sdarray_widget.c
index bb6db7a..604b691 100644
--- a/lib/prop_sdarray_widget.c
+++ b/lib/prop_sdarray_widget.c
@@ -60,6 +60,7 @@
#include "properties.h"
#include "propinternals.h"
#include "diacellrendererenum.h"
+#include "prop_sdarray_widget.h"
/** A small wrapper to connect to the model */
static GtkCellRenderer *
diff --git a/plug-ins/svg/svg-import.c b/plug-ins/svg/svg-import.c
index 433f1a4..2a50040 100644
--- a/plug-ins/svg/svg-import.c
+++ b/plug-ins/svg/svg-import.c
@@ -1268,7 +1268,7 @@ import_shape_info (xmlNodePtr start_node, DiagramData *dia, DiaContext *ctx)
return TRUE;
}
-gboolean
+static gboolean
import_memory_svg (const guchar *p, guint size, DiagramData *dia,
DiaContext *ctx, void *user_data)
{
@@ -1284,7 +1284,7 @@ import_memory_svg (const guchar *p, guint size, DiagramData *dia,
}
/* imports the given SVG file, returns TRUE if successful */
-gboolean
+static gboolean
import_file_svg(const gchar *filename, DiagramData *dia, DiaContext *ctx, void* user_data)
{
xmlDocPtr doc = xmlDoParseFile(filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]