diff options
author | mvglasow <michael -at- vonglasow.com> | 2018-06-11 00:02:12 +0200 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2018-06-11 00:02:12 +0200 |
commit | aea6489afff65b85593db83fe8a661bceb80147c (patch) | |
tree | 5591b0c618d2a33584f3542628744af4e3bf38ef /navit/speech/android/speech_android.c | |
parent | ad318d7fec18389e9cf1810b7470c4cf1377f836 (diff) | |
parent | 07006013135b619029f26df579a0ac6acb86cd4a (diff) | |
download | navit-aea6489afff65b85593db83fe8a661bceb80147c.tar.gz |
Merge branch 'trunk' into traffic
# Conflicts:
# navit/binding/dbus/binding_dbus.c
# navit/gui/internal/gui_internal_html.c
# navit/route.c
# navit/util.c
# navit/xmlconfig.c
Diffstat (limited to 'navit/speech/android/speech_android.c')
-rw-r--r-- | navit/speech/android/speech_android.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/navit/speech/android/speech_android.c b/navit/speech/android/speech_android.c index 2936fa64a..b76c2c3e9 100644 --- a/navit/speech/android/speech_android.c +++ b/navit/speech/android/speech_android.c @@ -33,8 +33,7 @@ struct speech_priv { int flags; }; -static int -speech_android_say(struct speech_priv *this, const char *text) { +static int speech_android_say(struct speech_priv *this, const char *text) { char *str=g_strdup(text); jstring string; int i; @@ -48,8 +47,7 @@ speech_android_say(struct speech_priv *this, const char *text) { return 1; } -static void -speech_android_destroy(struct speech_priv *this) { +static void speech_android_destroy(struct speech_priv *this) { g_free(this); } @@ -58,8 +56,7 @@ static struct speech_methods speech_android_meth = { speech_android_say, }; -static int -speech_android_init(struct speech_priv *ret) { +static int speech_android_init(struct speech_priv *ret) { jmethodID cid; char *class="org/navitproject/navit/NavitSpeech2"; @@ -85,8 +82,7 @@ speech_android_init(struct speech_priv *ret) { return 1; } -static struct speech_priv * -speech_android_new(struct speech_methods *meth, struct attr **attrs, struct attr *parent) { +static struct speech_priv *speech_android_new(struct speech_methods *meth, struct attr **attrs, struct attr *parent) { struct speech_priv *this; struct attr *flags; *meth=speech_android_meth; @@ -105,7 +101,6 @@ speech_android_new(struct speech_methods *meth, struct attr **attrs, struct attr } -void -plugin_init(void) { +void plugin_init(void) { plugin_register_category_speech("android", speech_android_new); } |