summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-03 17:05:09 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-03 17:05:09 +0000
commit9f5c1819362553e135ce87f9c1afc4b82aff0ffb (patch)
tree029922a3abc6fe54918fc4db5e532f7bcd71ac6f /src/fe-common
parentbad59362d3728be611ee7f9e3627ec1b4ddb8f6c (diff)
downloadirssi-9f5c1819362553e135ce87f9c1afc4b82aff0ffb.zip
Added processes to be extern instead of static. Also added Irssi::processes()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2182 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-exec.c2
-rw-r--r--src/fe-common/core/fe-exec.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-exec.c b/src/fe-common/core/fe-exec.c
index b8aedefa..1bac8eb6 100644
--- a/src/fe-common/core/fe-exec.c
+++ b/src/fe-common/core/fe-exec.c
@@ -35,7 +35,7 @@
#include <signal.h>
#include <sys/wait.h>
-static GSList *processes;
+GSList *processes;
static int signal_exec_input;
static void exec_wi_destroy(EXEC_WI_REC *rec)
diff --git a/src/fe-common/core/fe-exec.h b/src/fe-common/core/fe-exec.h
index e82a4c7e..bebd1f82 100644
--- a/src/fe-common/core/fe-exec.h
+++ b/src/fe-common/core/fe-exec.h
@@ -40,6 +40,8 @@ struct PROCESS_REC {
unsigned int silent:1; /* don't print "process exited with level xx" */
};
+extern GSList *processes;
+
void fe_exec_init(void);
void fe_exec_deinit(void);