diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-05 16:36:53 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-05 16:36:53 +0000 |
commit | e5a6c66766afd57105dda0cfabacb11d2b8e1d6b (patch) | |
tree | cdea20df67a9e2850295622b44fbb05aa59dd97f | |
parent | 60b38e75d4f13395a5326c408f560e425a674208 (diff) | |
download | rsyslog-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.ac | 7 | ||||
-rw-r--r-- | outchannel.c | 4 | ||||
-rw-r--r-- | syslogd.c | 4 | ||||
-rw-r--r-- | template.c | 4 |
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> @@ -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, @@ -23,10 +23,6 @@ */ #include "config.h" -#ifdef __FreeBSD__ -#define BSD -#endif - #include "rsyslog.h" #include <stdio.h> #include <stdlib.h> |