Skip to content

Commit

Permalink
Rename module_main.h to spd_module_main.h
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Oct 29, 2024
1 parent acde921 commit 6ba3b0e
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/modules/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/modules/module_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <ltdl.h>
#endif

#include "module_main.h"
#include "spd_module_main.h"
#include "module_utils.h"

int module_config(const char *configfilename) {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/module_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <stdlib.h>
#include <string.h>

#include "module_main.h"
#include "spd_module_main.h"

/*
* This provides the main startup structure for modules.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/module_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <pthread.h>

#include <spd_audio.h>
#include "module_main.h"
#include "spd_module_main.h"

pthread_mutex_t module_stdout_mutex = PTHREAD_MUTEX_INITIALIZER;

Expand Down
2 changes: 1 addition & 1 deletion src/modules/module_readline.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <string.h>
#include <sys/select.h>

#include "module_main.h"
#include "spd_module_main.h"

/*
* This provides simple input buffering for modules.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/module_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <fdsetconv.h>
#include <wchar.h>
#include "module_utils.h"
#include "module_main.h"
#include "spd_module_main.h"

static char *module_audio_pars[10];

Expand Down
2 changes: 1 addition & 1 deletion src/modules/module_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <speechd_types.h>
#include "common.h"
#include "spd_audio.h"
#include "module_main.h"
#include "spd_module_main.h"

G_BEGIN_DECLS

Expand Down
2 changes: 1 addition & 1 deletion src/modules/openjtalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <limits.h>
#include <sys/stat.h>

#include "module_main.h"
#include "spd_module_main.h"
#include "module_utils.h"

#define MODULE_NAME "open_jtalk"
Expand Down
2 changes: 1 addition & 1 deletion src/modules/skeleton0.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <unistd.h>
#include <string.h>

#include "module_main.h"
#include "spd_module_main.h"

static int stop_requested;

Expand Down
2 changes: 1 addition & 1 deletion src/modules/skeleton0_espeak-ng-async-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h>

#include "module_main.h"
#include "spd_module_main.h"

static char *voicetype;
static char *voicename;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/skeleton0_espeak-ng-async.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h>

#include "module_main.h"
#include "spd_module_main.h"

static char *voicetype;
static char *voicename;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/skeleton0_espeak-ng-sync-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h>

#include "module_main.h"
#include "spd_module_main.h"

static char *voicetype;
static char *voicename;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/skeleton0_espeak-ng-sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h>

#include "module_main.h"
#include "spd_module_main.h"

static int stop_requested;

Expand Down
2 changes: 1 addition & 1 deletion src/modules/skeleton_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
* All rights reserved.
Expand Down

0 comments on commit 6ba3b0e

Please sign in to comment.