Revert "maintainability: pass seq_len_adjust to LookupSpect() instead of using globals"

This reverts commit d08b8e43ca.

This commit causes gcc-4.8 to output a different SHA1 hash on the
language-phonemes test for `af` (the first language tested). It
does not break on clang or on gcc-7 so may be a compiler bug,
however the Travis CI build server is using it on Ubuntu Trusty
(14.04 LTS) and so may other older OSes.
This commit is contained in:
Reece H. Dunn
2018-03-25 13:34:52 +01:00
parent 566e904b33
commit 9344dab0c3
3 changed files with 10 additions and 10 deletions
+1 -2
View File
@@ -48,8 +48,7 @@ frameref_t *LookupSpect(PHONEME_TAB *this_ph,
int which,
FMT_PARAMS *fmt_params,
int *n_frames,
PHONEME_LIST *plist,
int *seq_len_adjust);
PHONEME_LIST *plist);
int NumInstnWords(unsigned short *prog);
int PhonemeCode(unsigned int mnem);