diff options
author | joerg <joerg@pkgsrc.org> | 2015-01-25 13:12:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-01-25 13:12:02 +0000 |
commit | d9aef9c7178077f825d788c5ae1eb567c1b52db9 (patch) | |
tree | 1cb1db953a536008ac1500394d94fd61f0b03ce9 /inputmethod | |
parent | b3b0e638acd46c48e5e5f09bb9fafa2f7776b960 (diff) | |
download | pkgsrc-d9aef9c7178077f825d788c5ae1eb567c1b52db9.tar.gz |
Don't declare a function non-void if it never returns a value and no
return value is expected.
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/ibus-array/distinfo | 3 | ||||
-rw-r--r-- | inputmethod/ibus-array/patches/patch-src_engine.c | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/inputmethod/ibus-array/distinfo b/inputmethod/ibus-array/distinfo index 7bc4b7a4267..62a7f27fff6 100644 --- a/inputmethod/ibus-array/distinfo +++ b/inputmethod/ibus-array/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2015/01/20 11:24:33 obache Exp $ +$NetBSD: distinfo,v 1.5 2015/01/25 13:12:02 joerg Exp $ SHA1 (ibus-array-0.1.0.tgz) = f4f6f5ccb0c2d54ef80b5e694fc508f99bf1f381 RMD160 (ibus-array-0.1.0.tgz) = 2526bd21f704bbd4bf8d563a6e89870a047562b9 Size (ibus-array-0.1.0.tgz) = 3838716 bytes +SHA1 (patch-src_engine.c) = 6e6913250874ff47f9133ce4d414db5e34000aba diff --git a/inputmethod/ibus-array/patches/patch-src_engine.c b/inputmethod/ibus-array/patches/patch-src_engine.c new file mode 100644 index 00000000000..528c27d3513 --- /dev/null +++ b/inputmethod/ibus-array/patches/patch-src_engine.c @@ -0,0 +1,22 @@ +$NetBSD: patch-src_engine.c,v 1.4 2015/01/25 13:12:02 joerg Exp $ + +--- src/engine.c.orig 2015-01-24 16:30:52.000000000 +0000 ++++ src/engine.c +@@ -67,7 +67,7 @@ static gboolean ibus_array_engine_commit + + static void ibus_array_engine_space_press(IBusArrayEngine *arrayeng); + +-static gboolean ibus_array_engine_update_symbol_lookup_table (IBusArrayEngine *arrayeng); ++static void ibus_array_engine_update_symbol_lookup_table (IBusArrayEngine *arrayeng); + + static void ibus_array_engine_update_auxiliary_text (IBusArrayEngine *arrayeng, gchar* aux_string); + +@@ -313,7 +313,7 @@ static void ibus_array_engine_update_pre + g_string_free(array_preedit, TRUE); + } + +-static gboolean ibus_array_engine_update_symbol_lookup_table (IBusArrayEngine *arrayeng) ++static void ibus_array_engine_update_symbol_lookup_table (IBusArrayEngine *arrayeng) + { + gint i; + gboolean retval; |