summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-17 07:46:30 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-17 07:46:30 +0000
commitb0ee8aac88dfad1a2d7c47f49670e52b368fa580 (patch)
tree2df769472df4801e45306e1c092eada29066d302 /syslogd.c
parentc55bb999b214c2dbd7d27b37fb189d2514e7a169 (diff)
downloadrsyslog-b0ee8aac88dfad1a2d7c47f49670e52b368fa580.tar.gz
rsyslog-b0ee8aac88dfad1a2d7c47f49670e52b368fa580.tar.xz
rsyslog-b0ee8aac88dfad1a2d7c47f49670e52b368fa580.zip
created thread-class internal wrapper for calling user supplied thread main
function
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index d762cf3b..e7d09fbc 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -2629,7 +2629,8 @@ static void startWorker(void)
* worker thread. Having more than one worker requires considerable
* additional code review in regard to thread-safety.
*/
-static void *singleWorker()
+static void *
+singleWorker()
{
msgQueue *fifo = pMsgQueue;
msg_t *pMsg;