summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-07-28 07:46:35 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-07-28 07:46:35 +0200
commitb7c91420b0814ee20088d27953582a5064c9a467 (patch)
tree152a28450601cb77593df8e119114478287eceb1 /tools
parent480125e16ce0cdd63d9ee0b47565789984c217e0 (diff)
downloadrsyslog-b7c91420b0814ee20088d27953582a5064c9a467.zip
rsyslog-b7c91420b0814ee20088d27953582a5064c9a467.tar.gz
rsyslog-b7c91420b0814ee20088d27953582a5064c9a467.tar.xz
begun implementing a diagnostic plugin (not yet completed)
Diffstat (limited to 'tools')
-rw-r--r--tools/gethostn.c1
-rw-r--r--tools/syslogd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/gethostn.c b/tools/gethostn.c
index 746b938..df7ce38 100644
--- a/tools/gethostn.c
+++ b/tools/gethostn.c
@@ -26,6 +26,7 @@
#include "config.h"
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
int main(int __attribute__((unused)) argc, char __attribute__((unused)) *argv[])
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 5edf92c..1b63734 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -870,6 +870,7 @@ submitErrMsg(int iErr, uchar *msg)
RETiRet;
}
+
/* rgerhards 2004-11-09: the following is a function that can be used
* to log a message orginating from the syslogd itself. In sysklogd code,
* this is done by simply calling logmsg(). However, logmsg() is changed in