[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] output_modules should be declared in a c file not a header
From: |
Trevor Saunders |
Subject: |
[PATCH 1/3] output_modules should be declared in a c file not a header |
Date: |
Thu, 18 Nov 2010 06:40:11 -0500 |
We move the declaration of output_modules to speechd.c and declare it
extern in speechd.h
---
src/server/speechd.c | 3 +++
src/server/speechd.h | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/server/speechd.c b/src/server/speechd.c
index 10cf20c..73dfec9 100644
--- a/src/server/speechd.c
+++ b/src/server/speechd.c
@@ -48,6 +48,9 @@
#include <i18n.h>
+/* list of output modules */
+GList *output_modules;
+
/* Manipulating pid files */
int create_pid_file();
void destroy_pid_file();
diff --git a/src/server/speechd.h b/src/server/speechd.h
index 929301e..1240857 100644
--- a/src/server/speechd.h
+++ b/src/server/speechd.h
@@ -187,7 +187,7 @@ key_t speaking_sem_key;
int speaking_sem_id;
/* Table of all configured (and succesfully loaded) output modules */
-GList *output_modules;
+extern GList *output_modules;
/* Table of settings for each active client (=each active socket)*/
GHashTable *fd_settings;
--
1.7.2.3
- rfc module autodetection patch set, Trevor Saunders, 2010/11/18
- [PATCH 1/3] output_modules should be declared in a c file not a header,
Trevor Saunders <=
- [PATCH 2/3] move loading of modules out of the AddModule call back, Trevor Saunders, 2010/11/18
- [PATCH 2/3] move loading of modules out of the AddModule call back, Andrei Kholodnyi, 2010/11/18
- [PATCH 2/3] move loading of modules out of the AddModule call back, Christopher Brannon, 2010/11/19
- [PATCH 2/3] move loading of modules out of the AddModule call back, Andrei . Kholodnyi, 2010/11/19
- [PATCH 2/3] move loading of modules out of the AddModule call back, Andrei Kholodnyi, 2010/11/26
- [PATCH 2/3] move loading of modules out of the AddModule call back, Christopher Brannon, 2010/11/27
- [PATCH 2/3] move loading of modules out of the AddModule call back, Christopher Brannon, 2010/11/28
- [PATCH 2/3] move loading of modules out of the AddModule call back, Andrei Kholodnyi, 2010/11/28
[PATCH 3/3] add an initial module detection algorithm, Trevor Saunders, 2010/11/18