summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-05 16:36:53 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-05 16:36:53 +0000
commite5a6c66766afd57105dda0cfabacb11d2b8e1d6b (patch)
treecdea20df67a9e2850295622b44fbb05aa59dd97f
parent60b38e75d4f13395a5326c408f560e425a674208 (diff)
downloadrsyslog-e5a6c66766afd57105dda0cfabacb11d2b8e1d6b.tar.gz
rsyslog-e5a6c66766afd57105dda0cfabacb11d2b8e1d6b.tar.xz
rsyslog-e5a6c66766afd57105dda0cfabacb11d2b8e1d6b.zip
removed some no-longer-needed code (thanks Michael Biebl for the help)
-rw-r--r--configure.ac7
-rw-r--r--outchannel.c4
-rw-r--r--syslogd.c4
-rw-r--r--template.c4
4 files changed, 0 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac
index 4d22b277..01c82cfd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,10 +21,6 @@ AC_CANONICAL_HOST
case "${host}" in
*-*-linux*)
- # This feature indicates if klogd functionality
- # should be integrated. If it is switched off, klogd
- # is still compiled, but it is an empty shell.
- AC_DEFINE([FEATURE_KLOGD], [1], [Description])
;;
*-*-*darwin*|*-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
AC_DEFINE([BSD], [1], [Description])
@@ -203,9 +199,6 @@ AC_ARG_ENABLE(klogd,
esac],
[enable_klogd="yes"]
)
-if test "$enable_klogd" = "yes"; then
- AC_DEFINE(FEATURE_KLOGD, 1, [klogd functionality is integrated.])
-fi
AM_CONDITIONAL(ENABLE_IMKLOGD, test x$enable_klogd = xyes)
#
diff --git a/outchannel.c b/outchannel.c
index f0b6dc0e..fc2fd659 100644
--- a/outchannel.c
+++ b/outchannel.c
@@ -28,10 +28,6 @@
*/
#include "config.h"
-#ifdef __FreeBSD__
-#define BSD
-#endif
-
#include "rsyslog.h"
#include <stdio.h>
#include <unistd.h>
diff --git a/syslogd.c b/syslogd.c
index 618c3847..13944a46 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -58,10 +58,6 @@
#include "config.h"
#include "rsyslog.h"
-#ifdef __FreeBSD__
-#define BSD
-#endif
-
/* change the following setting to e.g. 32768 if you would like to
* support large message sizes for IHE (32k is the current maximum
* needed for IHE). I was initially tempted to increase it to 32k,
diff --git a/template.c b/template.c
index a259203b..ac436081 100644
--- a/template.c
+++ b/template.c
@@ -23,10 +23,6 @@
*/
#include "config.h"
-#ifdef __FreeBSD__
-#define BSD
-#endif
-
#include "rsyslog.h"
#include <stdio.h>
#include <stdlib.h>