Skip to content

Forward declare allphone_clear_segments in allphone_search.c#140

Merged
nshmyrev merged 1 commit intocmusphinx:masterfrom
chussong:master
Aug 10, 2018
Merged

Forward declare allphone_clear_segments in allphone_search.c#140
nshmyrev merged 1 commit intocmusphinx:masterfrom
chussong:master

Conversation

@chussong
Copy link
Contributor

@chussong chussong commented Aug 10, 2018

My previous commit broke compilation because the declaration order of the static functions is off (very sorry about that). Rather than moving functions around, it seemed more natural to put this forward declaration in in the same place as the existing one for allphone_backtrace.

Like I should have done last time, I've tested this and it compiles and seems to run correctly (passes the unit tests, doesn't leak).

Edit to add: this resolves #139.

@nshmyrev nshmyrev merged commit 61fd6e9 into cmusphinx:master Aug 10, 2018
@nshmyrev
Copy link
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

allphone_search.c compilation problem

2 participants