summaryrefslogtreecommitdiffstats
path: root/stringbuf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-04-21 10:33:17 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-04-21 10:33:17 +0000
commitec78980cb02009c6bc329f04fc1d77da3ebdf638 (patch)
tree1f61e28f74bd2004099f0cfd01a254abb26cb63b /stringbuf.c
parentbc5c4c1a3831f9abbde427e894165f1cd7c42bc0 (diff)
downloadrsyslog-ec78980cb02009c6bc329f04fc1d77da3ebdf638.tar.gz
rsyslog-ec78980cb02009c6bc329f04fc1d77da3ebdf638.tar.xz
rsyslog-ec78980cb02009c6bc329f04fc1d77da3ebdf638.zip
removed some #ifdef's BSD because we can do the same on RedHat, too...
Diffstat (limited to 'stringbuf.c')
-rwxr-xr-xstringbuf.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/stringbuf.c b/stringbuf.c
index 12bb02d6..21f487d5 100755
--- a/stringbuf.c
+++ b/stringbuf.c
@@ -37,16 +37,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef __FreeBSD__
-#define BSD
-#endif
-
-
-#ifdef BSD
#include <stdlib.h>
-#else
-#include <malloc.h>
-#endif
#include <assert.h>
#include <string.h>
#include "liblogging-stub.h"