summaryrefslogtreecommitdiff
path: root/audio/sphinx/files/patch-src-libsphinx2_search.c
blob: 1d6f423d4bcf529af79865abb9720923d4969b9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- src/libsphinx2/search.c.orig	2007-12-06 18:29:23.000000000 +0100
+++ src/libsphinx2/search.c	2007-12-06 18:33:21.000000000 +0100
@@ -2236,6 +2236,9 @@
     lm_next_frame ();
 }
 
+static void compute_phone_perplexity( void );
+static search_hyp_t *fwdtree_pscr_path ( void );
+
 void
 search_finish_fwd (void)
 {
@@ -2245,7 +2248,6 @@
     CHAN_T *hmm, /* *thmm,*/ **acl;
     /* int32 bp, bestbp, bestscore; */
     /* int32 l_scr; */
-    static void compute_phone_perplexity( void );
     
     if ((CurrentFrame > 0) && (topsen_window > 1)) {
 	/* Wind up remaining frames */
@@ -2306,7 +2308,6 @@
     /* Get pscr-score for fwdtree recognition */
     {
 	search_hyp_t *pscrpath;
-	static search_hyp_t *fwdtree_pscr_path ( void );
 	
 	if (query_phone_conf ()) {
 	    pscrpath = fwdtree_pscr_path ();