From e5a6c66766afd57105dda0cfabacb11d2b8e1d6b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Sat, 5 Jan 2008 16:36:53 +0000 Subject: removed some no-longer-needed code (thanks Michael Biebl for the help) --- configure.ac | 7 ------- outchannel.c | 4 ---- syslogd.c | 4 ---- template.c | 4 ---- 4 files changed, 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 #include 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 #include -- cgit v1.2.3