summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-19 11:24:02 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-19 11:24:02 +0000
commit888c5e0afadbf75226ba6223ce548a1b379bbf85 (patch)
tree48dbdf393d1db7411ddda579e966d20ccecd47d8
parentc5f99dc22253e5bd1adbfbfa7c3fd842554b9016 (diff)
downloadrsyslog-888c5e0afadbf75226ba6223ce548a1b379bbf85.tar.gz
rsyslog-888c5e0afadbf75226ba6223ce548a1b379bbf85.tar.xz
rsyslog-888c5e0afadbf75226ba6223ce548a1b379bbf85.zip
cleanup
-rw-r--r--expr.c2
-rw-r--r--syslogd.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/expr.c b/expr.c
index 7e4e9899..dfdf5fc7 100644
--- a/expr.c
+++ b/expr.c
@@ -58,7 +58,7 @@ finalize_it:
}
-/* destructor for the strm object */
+/* destructor for the expr object */
BEGINobjDestruct(expr) /* be sure to specify the object type also in END and CODESTART macros! */
CODESTARTobjDestruct(expr)
/* ... then free resources */
diff --git a/syslogd.c b/syslogd.c
index 1348e9da..7353bbda 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -117,7 +117,6 @@
#include <string.h>
#include <stdarg.h>
#include <time.h>
-#include <dlfcn.h>
#include <assert.h>
#include <sys/syslog.h>
@@ -139,10 +138,6 @@
#include <sys/resource.h>
#include <signal.h>
-//?#include <dirent.h>
-//?#include <glob.h>
-//?#include <sys/types.h>
-
#if HAVE_PATHS_H
#include <paths.h>
#endif
@@ -159,7 +154,6 @@
#include "outchannel.h"
#include "syslogd.h"
-//?#include "parse.h"
#include "msg.h"
#include "modules.h"
#include "action.h"