]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_speech_utils: Fix unresolved symbol ast_speech_get_setting().
authorRichard Mudgett <rmudgett@digium.com>
Mon, 16 Sep 2013 17:53:47 +0000 (17:53 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 16 Sep 2013 17:53:47 +0000 (17:53 +0000)
Fixes regression introduced by -r374096.

* Made res_speech.export.in export ast_* symbols instead of specific
functions.

* Made app_speech_utils.c declare that it is dependent upon res_speech.

(issue ASTERISK-17136)
Reported by: Richard Kenner

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@399197 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_speech_utils.c
res/res_speech.exports.in

index 011d655ea5e5bc88615af607db20478769173ba8..81afa88ed0fa313907222c8725fc3477a2ace77c 100644 (file)
@@ -27,6 +27,7 @@
 
 /*** MODULEINFO
        <support_level>core</support_level>
+       <depend>res_speech</depend>
  ***/
 
 #include "asterisk.h"
index 2bdb6398bb3a48bb6b53c450c9cbb1c452f42673..c8231974b3c886a10625665782ee968bb3272b59 100644 (file)
@@ -1,21 +1,6 @@
 {
        global:
-               LINKER_SYMBOL_PREFIXast_speech_change;
-               LINKER_SYMBOL_PREFIXast_speech_change_results_type;
-               LINKER_SYMBOL_PREFIXast_speech_change_state;
-               LINKER_SYMBOL_PREFIXast_speech_destroy;
-               LINKER_SYMBOL_PREFIXast_speech_dtmf;
-               LINKER_SYMBOL_PREFIXast_speech_grammar_activate;
-               LINKER_SYMBOL_PREFIXast_speech_grammar_deactivate;
-               LINKER_SYMBOL_PREFIXast_speech_grammar_load;
-               LINKER_SYMBOL_PREFIXast_speech_grammar_unload;
-               LINKER_SYMBOL_PREFIXast_speech_new;
-               LINKER_SYMBOL_PREFIXast_speech_register;
-               LINKER_SYMBOL_PREFIXast_speech_results_free;
-               LINKER_SYMBOL_PREFIXast_speech_results_get;
-               LINKER_SYMBOL_PREFIXast_speech_start;
-               LINKER_SYMBOL_PREFIXast_speech_unregister;
-               LINKER_SYMBOL_PREFIXast_speech_write;
+               LINKER_SYMBOL_PREFIXast_*;
        local:
                *;
 };