summaryrefslogtreecommitdiffstats
path: root/testsuite/log01/test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/log01/test_main.c')
-rw-r--r--testsuite/log01/test_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/log01/test_main.c b/testsuite/log01/test_main.c
index 63077a56..45f62cdf 100644
--- a/testsuite/log01/test_main.c
+++ b/testsuite/log01/test_main.c
@@ -44,6 +44,9 @@
#include <rtems/bsd/bsd.h>
+/* Only visible in <sys/syslog.h> if _KERNEL is undefined */
+void syslog(int, const char *, ...) __printflike(2, 3);
+
#define TEST_NAME "LIBBSD LOG 1"
typedef struct {