Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward declare allphone_clear_segments in allphone_search.c #140

Merged
merged 1 commit into from
Aug 10, 2018

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