diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am index e51afd29..8f8c09de 100644 --- a/src/modules/Makefile.am +++ b/src/modules/Makefile.am @@ -41,7 +41,7 @@ AM_CPPFLAGS = $(inc_local) -DDATADIR=\"$(snddatadir)\" $(GLIB_CFLAGS) # This is the BSD-licensed helper library that people can use to create their # own speech-dispatcher module # -spdinclude_HEADERS = module_main.h +spdinclude_HEADERS = spd_module_main.h lib_LTLIBRARIES = libspeechd_module.la libspeechd_module_la_SOURCES = module_main.c module_readline.c module_process.c libspeechd_module_la_LDFLAGS = -version-info 0:0:0 diff --git a/src/modules/module_config.c b/src/modules/module_config.c index 4fb8cf33..348b0b47 100644 --- a/src/modules/module_config.c +++ b/src/modules/module_config.c @@ -25,7 +25,7 @@ #include #endif -#include "module_main.h" +#include "spd_module_main.h" #include "module_utils.h" int module_config(const char *configfilename) { diff --git a/src/modules/module_main.c b/src/modules/module_main.c index ed61749b..41d1dea9 100644 --- a/src/modules/module_main.c +++ b/src/modules/module_main.c @@ -31,7 +31,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" /* * This provides the main startup structure for modules. diff --git a/src/modules/module_process.c b/src/modules/module_process.c index e9c3dfe8..d2cfc067 100644 --- a/src/modules/module_process.c +++ b/src/modules/module_process.c @@ -34,7 +34,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" pthread_mutex_t module_stdout_mutex = PTHREAD_MUTEX_INITIALIZER; diff --git a/src/modules/module_readline.c b/src/modules/module_readline.c index 3a1dc9c7..99bb623e 100644 --- a/src/modules/module_readline.c +++ b/src/modules/module_readline.c @@ -33,7 +33,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" /* * This provides simple input buffering for modules. diff --git a/src/modules/module_utils.c b/src/modules/module_utils.c index 04b85f6f..2a272217 100644 --- a/src/modules/module_utils.c +++ b/src/modules/module_utils.c @@ -26,7 +26,7 @@ #include #include #include "module_utils.h" -#include "module_main.h" +#include "spd_module_main.h" static char *module_audio_pars[10]; diff --git a/src/modules/module_utils.h b/src/modules/module_utils.h index 551bac07..fe5cacfb 100644 --- a/src/modules/module_utils.h +++ b/src/modules/module_utils.h @@ -41,7 +41,7 @@ #include #include "common.h" #include "spd_audio.h" -#include "module_main.h" +#include "spd_module_main.h" G_BEGIN_DECLS diff --git a/src/modules/openjtalk.c b/src/modules/openjtalk.c index 89f5daff..26cfeb9f 100644 --- a/src/modules/openjtalk.c +++ b/src/modules/openjtalk.c @@ -37,7 +37,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" #include "module_utils.h" #define MODULE_NAME "open_jtalk" diff --git a/src/modules/skeleton0.c b/src/modules/skeleton0.c index 0dfa5546..175807d5 100644 --- a/src/modules/skeleton0.c +++ b/src/modules/skeleton0.c @@ -37,7 +37,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" static int stop_requested; diff --git a/src/modules/skeleton0_espeak-ng-async-server.c b/src/modules/skeleton0_espeak-ng-async-server.c index 5dd8948e..f34647e2 100644 --- a/src/modules/skeleton0_espeak-ng-async-server.c +++ b/src/modules/skeleton0_espeak-ng-async-server.c @@ -40,7 +40,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" static char *voicetype; static char *voicename; diff --git a/src/modules/skeleton0_espeak-ng-async.c b/src/modules/skeleton0_espeak-ng-async.c index 9de4b688..490ed995 100644 --- a/src/modules/skeleton0_espeak-ng-async.c +++ b/src/modules/skeleton0_espeak-ng-async.c @@ -39,7 +39,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" static char *voicetype; static char *voicename; diff --git a/src/modules/skeleton0_espeak-ng-sync-server.c b/src/modules/skeleton0_espeak-ng-sync-server.c index 0457ef3b..09ebf22b 100644 --- a/src/modules/skeleton0_espeak-ng-sync-server.c +++ b/src/modules/skeleton0_espeak-ng-sync-server.c @@ -40,7 +40,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" static char *voicetype; static char *voicename; diff --git a/src/modules/skeleton0_espeak-ng-sync.c b/src/modules/skeleton0_espeak-ng-sync.c index 643c1ca1..d1400823 100644 --- a/src/modules/skeleton0_espeak-ng-sync.c +++ b/src/modules/skeleton0_espeak-ng-sync.c @@ -39,7 +39,7 @@ #include #include -#include "module_main.h" +#include "spd_module_main.h" static int stop_requested; diff --git a/src/modules/skeleton_config.c b/src/modules/skeleton_config.c index c243a274..bed60329 100644 --- a/src/modules/skeleton_config.c +++ b/src/modules/skeleton_config.c @@ -39,7 +39,7 @@ #define MODULE_NAME "skeleton_config" #define MODULE_VERSION "0.1" -#include "module_main.h" +#include "spd_module_main.h" #include "module_utils.h" #define DEBUG_MODULE 1 diff --git a/src/modules/module_main.h b/src/modules/spd_module_main.h similarity index 98% rename from src/modules/module_main.h rename to src/modules/spd_module_main.h index 28900d34..e9d706fb 100644 --- a/src/modules/module_main.h +++ b/src/modules/spd_module_main.h @@ -1,5 +1,5 @@ /* - * module_main.h - Interface for main loop of output modules. + * spd_module_main.h - Interface for main loop of output modules. * * Copyright (C) 2020-2021 Samuel Thibault * All rights reserved.