summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkmaraas <kmaraas@e2bd861d-eb25-0410-b326-f6ed22b6b98c>2007-01-24 19:16:59 +0000
committerkmaraas <kmaraas@e2bd861d-eb25-0410-b326-f6ed22b6b98c>2007-01-24 19:16:59 +0000
commit8d3aa905941cb4f17a07ab6efb2e8eddfc866688 (patch)
treee21b2887f592a993228c1a353b9c1d729c3fb53b /test
parent4f9419fc9727ac550f665ee6deca45d7272e92e0 (diff)
downloadat-spi2-core-8d3aa905941cb4f17a07ab6efb2e8eddfc866688.tar.gz
2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
* cspi/bonobo/cspi-bonobo-listener.h: * cspi/bonobo/cspi-bonobo.c: (cspi_init): * cspi/spi_hypertext.c: (AccessibleHypertext_getLink): * cspi/spi_main.c: (SPI_eventIsReady): * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read): * libspi/streamablecontent.c: * libspi/util.c: (spi_re_entrant_list_delete_link): * login-helper/login-helper.c: * registryd/deviceeventcontroller.c: (spi_controller_update_key_grabs), (isEvent): * registryd/registry.c: * test/key-listener-test.c: (simple_at_exit): * test/login-helper-server-test.c: (test_set_wm_dock), (test_post_window): Fix a bunch of warnings from sparse: - ANSIfication of function declarations - NULL vs 0 - Add some prototypes - make some stuff static git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@882 e2bd861d-eb25-0410-b326-f6ed22b6b98c
Diffstat (limited to 'test')
-rw-r--r--test/key-listener-test.c2
-rw-r--r--test/login-helper-server-test.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/key-listener-test.c b/test/key-listener-test.c
index c731d616..5c7d43df 100644
--- a/test/key-listener-test.c
+++ b/test/key-listener-test.c
@@ -114,7 +114,7 @@ main (int argc, char **argv)
}
static void
-simple_at_exit ()
+simple_at_exit (void)
{
SPI_deregisterAccessibleKeystrokeListener (command_key_listener, SPI_KEYMASK_ALT | SPI_KEYMASK_CONTROL);
AccessibleKeystrokeListener_unref (command_key_listener);
diff --git a/test/login-helper-server-test.c b/test/login-helper-server-test.c
index c7b26799..bfa8c205 100644
--- a/test/login-helper-server-test.c
+++ b/test/login-helper-server-test.c
@@ -126,7 +126,7 @@ test_get_raise_windows (LoginHelper *helper)
void
-test_set_wm_dock ()
+test_set_wm_dock (void)
{
Atom atom_type[1], atom_window_type;
@@ -149,7 +149,7 @@ test_set_wm_dock ()
}
static void
-test_post_window ()
+test_post_window (void)
{
mainwin = gtk_window_new (GTK_WINDOW_TOPLEVEL);