summaryrefslogtreecommitdiffstats
path: root/testsuite/log01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-28 08:35:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-09 09:46:32 +0100
commit520ab224ca812287640930135d57bf9d781d4476 (patch)
tree31bdb4be6c7d1d8c45fd7cc87ade1c16e73d67b2 /testsuite/log01
parentAdd empty <machine/_kernel_lock.h> (diff)
downloadrtems-libbsd-520ab224ca812287640930135d57bf9d781d4476.tar.bz2
Modify rtems_bsd_set_vprintf_handler()
Return previous vprintf()-handler in rtems_bsd_set_vprintf_handler().
Diffstat (limited to 'testsuite/log01')
-rw-r--r--testsuite/log01/test_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/log01/test_main.c b/testsuite/log01/test_main.c
index 3a4ef65e..63077a56 100644
--- a/testsuite/log01/test_main.c
+++ b/testsuite/log01/test_main.c
@@ -32,8 +32,8 @@
#include <machine/rtems-bsd-kernel-space.h>
#include <sys/types.h>
+#include <sys/syslog.h>
#include <sys/systm.h>
-#include <syslog.h>
#include <assert.h>
#include <errno.h>
@@ -42,6 +42,8 @@
#include <stdlib.h>
#include <string.h>
+#include <rtems/bsd/bsd.h>
+
#define TEST_NAME "LIBBSD LOG 1"
typedef struct {