mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-04 15:49:48 +00:00
code cleanup: Check all local includes with include-what-you-use
Going through files in src/libespeak-ng/, include-what-you-use removed a few unnecessary includes and included explanations on why a certain header should be included. This makes tracking globals and dependencies easier. Running the codebase through IWYU should be repeated after each major code restIncludes to standard c library weren't checked to avoid breaking builds with other platforms. See https://github.com/include-what-you-use/include-what-you-use
This commit is contained in:
@@ -32,15 +32,14 @@
|
||||
#include <espeak-ng/encoding.h>
|
||||
|
||||
#include "dictionary.h"
|
||||
#include "numbers.h"
|
||||
#include "readclause.h"
|
||||
#include "synthdata.h"
|
||||
|
||||
#include "speech.h"
|
||||
#include "phoneme.h"
|
||||
#include "voice.h"
|
||||
#include "synthesize.h"
|
||||
#include "translate.h"
|
||||
#include "numbers.h" // for LookupAccentedLetter, Look...
|
||||
#include "phoneme.h" // for PHONEME_TAB, phVOWEL, phon...
|
||||
#include "readclause.h" // for WordToString2, is_str_tota...
|
||||
#include "speech.h" // for GetFileLength, path_home
|
||||
#include "compiledict.h" // for DecodeRule
|
||||
#include "synthdata.h" // for PhonemeCode, InterpretPhoneme
|
||||
#include "synthesize.h" // for STRESS_IS_PRIMARY, phoneme...
|
||||
#include "translate.h" // for Translator, utf8_in, LANGU...
|
||||
|
||||
typedef struct {
|
||||
int points;
|
||||
|
||||
Reference in New Issue
Block a user