diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-28 17:28:52 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-28 17:28:52 +0100 |
commit | 791d8ea863cbd53eccf989e92ffd8b2ac00dd179 (patch) | |
tree | 87e1f59be4b7943608c6b1332da9cc5f45a0cbb2 /tools/ompipe.c | |
parent | 50636ba267bb1930bce7c3baecdab8a245d52b05 (diff) | |
download | rsyslog-791d8ea863cbd53eccf989e92ffd8b2ac00dd179.tar.gz rsyslog-791d8ea863cbd53eccf989e92ffd8b2ac00dd179.tar.xz rsyslog-791d8ea863cbd53eccf989e92ffd8b2ac00dd179.zip |
some code cleanup
Diffstat (limited to 'tools/ompipe.c')
-rw-r--r-- | tools/ompipe.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/ompipe.c b/tools/ompipe.c index 89fc05ef..3355bcb4 100644 --- a/tools/ompipe.c +++ b/tools/ompipe.c @@ -37,11 +37,8 @@ #include <stdarg.h> #include <stdlib.h> #include <string.h> -#include <time.h> #include <assert.h> #include <errno.h> -#include <ctype.h> -#include <unistd.h> #include <sys/file.h> #include "syslogd.h" @@ -51,6 +48,7 @@ #include "ompipe.h" #include "cfsysline.h" #include "module-template.h" +#include "conf.h" #include "errmsg.h" MODULE_TYPE_OUTPUT @@ -93,7 +91,7 @@ ENDdbgPrintInstInfo * course). -- rgerhards, 2008-10-22 * changed to iRet interface - 2009-03-19 */ -static rsRetVal +static inline rsRetVal preparePipe(instanceData *pData) { DEFiRet; |