mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-29 22:04:55 +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:
@@ -21,14 +21,16 @@
|
||||
#ifndef ESPEAK_NG_SYNTHDATA_H
|
||||
#define ESPEAK_NG_SYNTHDATA_H
|
||||
|
||||
#include "synthesize.h"
|
||||
#include "translate.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "espeak-ng/espeak_ng.h" // for espeak_ng_ERROR_CONTEXT, espea...
|
||||
#include "phoneme.h" // for PHONEME_TAB
|
||||
#include "synthesize.h" // for PHONEME_DATA, PHONEME_LIST
|
||||
#include "translate.h" // for Translator
|
||||
|
||||
void InterpretPhoneme(Translator *tr,
|
||||
int control,
|
||||
PHONEME_LIST *plist,
|
||||
|
||||
Reference in New Issue
Block a user