[at-spi2-core] Add some missing prototypes
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Add some missing prototypes
- Date: Mon, 21 Mar 2011 22:48:39 +0000 (UTC)
commit d8788bd39538d18f5cc701ab2f99eda3ccf1562a
Author: Mike Gorse <mgorse novell com>
Date: Mon Mar 21 15:40:50 2011 -0700
Add some missing prototypes
atspi/Makefile.am | 3 ++-
dbind/Makefile.am | 3 ++-
dbind/dbind.c | 1 +
registryd/Makefile.am | 3 ++-
registryd/de-marshaller.h | 4 ++--
registryd/deviceeventcontroller.c | 2 ++
registryd/registry-main.c | 2 +-
7 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/atspi/Makefile.am b/atspi/Makefile.am
index a8b1811..608ed4d 100644
--- a/atspi/Makefile.am
+++ b/atspi/Makefile.am
@@ -6,7 +6,8 @@ libatspi_la_CFLAGS = $(DBUS_CFLAGS) \
$(DBIND_CFLAGS) \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/registryd \
- -I$(top_srcdir)
+ -I$(top_srcdir) \
+ -Werror=implicit-function-declaration
libatspi_la_LIBADD = $(DBUS_LIBS) \
$(GOBJ_LIBS) \
diff --git a/dbind/Makefile.am b/dbind/Makefile.am
index 072b1e1..52b3ac2 100644
--- a/dbind/Makefile.am
+++ b/dbind/Makefile.am
@@ -5,7 +5,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
$(WARN_CFLAGS) \
$(DBUS_CFLAGS) \
- $(GLIB_CFLAGS)
+ $(GLIB_CFLAGS) \
+ -Werror=implicit-function-declaration
libdbind_la_SOURCES = \
dbind-config.h \
diff --git a/dbind/dbind.c b/dbind/dbind.c
index 3acb38a..ad34951 100644
--- a/dbind/dbind.c
+++ b/dbind/dbind.c
@@ -25,6 +25,7 @@
#include "config.h"
#include "dbind/dbind.h"
+#include "atspi/atspi.h"
static int dbind_timeout = -1;
diff --git a/registryd/Makefile.am b/registryd/Makefile.am
index a327658..688e045 100644
--- a/registryd/Makefile.am
+++ b/registryd/Makefile.am
@@ -7,7 +7,8 @@ at_spi2_registryd_CFLAGS = \
$(GOBJ_CFLAGS) \
$(ATK_CFLAGS) \
-I$(top_srcdir) \
- -DATSPI_INTROSPECTION_PATH=\"$(pkgdatadir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)\"
+ -DATSPI_INTROSPECTION_PATH=\"$(pkgdatadir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)\" \
+ -Werror=implicit-function-declaration
at_spi2_registryd_LDADD = \
../atspi/libatspi.la \
diff --git a/registryd/de-marshaller.h b/registryd/de-marshaller.h
index 41e5b78..9d55a9d 100644
--- a/registryd/de-marshaller.h
+++ b/registryd/de-marshaller.h
@@ -31,7 +31,7 @@
dbus_bool_t spi_dbus_message_iter_get_struct(DBusMessageIter *iter, ...);
dbus_bool_t spi_dbus_message_iter_append_struct(DBusMessageIter *iter, ...);
-dbus_bool_t spi_dbus_marshall_deviceEvent(DBusMessage *message, const Accessibility_DeviceEvent *e);
-dbus_bool_t spi_dbus_demarshall_deviceEvent(DBusMessage *message, Accessibility_DeviceEvent *e);
+dbus_bool_t spi_dbus_marshal_deviceEvent(DBusMessage *message, const Accessibility_DeviceEvent *e);
+dbus_bool_t spi_dbus_demarshal_deviceEvent(DBusMessage *message, Accessibility_DeviceEvent *e);
#endif /* SPI_DE_MARSHALLER_H_ */
diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
index 2df09d0..677163f 100644
--- a/registryd/deviceeventcontroller.c
+++ b/registryd/deviceeventcontroller.c
@@ -35,6 +35,7 @@
#include <sys/time.h>
#include <X11/Xlib.h>
+#include <X11/Xutil.h>
#include <X11/extensions/XTest.h>
#include <X11/XKBlib.h>
#define XK_MISCELLANY
@@ -56,6 +57,7 @@
#include "de-types.h"
#include "de-marshaller.h"
#include "display.h"
+#include "event-source.h"
#include "deviceeventcontroller.h"
#include "reentrant-list.h"
diff --git a/registryd/registry-main.c b/registryd/registry-main.c
index 4bb0dd9..fcfa446 100644
--- a/registryd/registry-main.c
+++ b/registryd/registry-main.c
@@ -35,7 +35,7 @@
#include "paths.h"
#include "registry.h"
#include "deviceeventcontroller.h"
-#include "atspi/atspi-misc.h"
+#include "atspi/atspi.h"
#define CORBA_GCONF_KEY "/desktop/gnome/interface/at-spi-corba"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]