[java-atk-wrapper] FIX incompatible implicit declaration warning



commit 97df649ba13a6cff63457efe723b94fa8c80a94b
Author: Magdalen Berns <m berns thismagpie com>
Date:   Sat Nov 15 14:45:18 2014 +0000

    FIX incompatible implicit declaration warning
    
    adding the <string.h> since that's where strcpy is defined
    
    Bug https://bugzilla.gnome.org/show_bug.cgi?id=740170

 jni/src/jawtoplevel.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/jni/src/jawtoplevel.c b/jni/src/jawtoplevel.c
index e84d7af..35dbff0 100644
--- a/jni/src/jawtoplevel.c
+++ b/jni/src/jawtoplevel.c
@@ -19,15 +19,15 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <glib.h>
 #include "jawtoplevel.h"
 
-static void            jaw_toplevel_class_init         (JawToplevelClass       *klass);
-static void            jaw_toplevel_init               (JawToplevel            *toplevel);
+static void jaw_toplevel_class_init(JawToplevelClass *klass);
+static void jaw_toplevel_init(JawToplevel *toplevel);
 
-static void            jaw_toplevel_initialize         (AtkObject              *accessible,
-                                                        gpointer               data);
-static void            jaw_toplevel_object_finalize    (GObject                *obj);
+static void jaw_toplevel_initialize(AtkObject *accessible, gpointer data);
+static void jaw_toplevel_object_finalize(GObject *obj);
 
 /* override AtkObject function */
 static G_CONST_RETURN gchar*   jaw_toplevel_get_name                   (AtkObject              *obj);


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