diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-28 21:55:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-28 21:55:16 +0000 |
commit | 79ccfa4ae6db4b085703b12c8f6846716fc69df7 (patch) | |
tree | d6bc886b1d8c6772e245e715bb2676d95b8a9b78 /apps/examples/poll | |
parent | 433dae74225a98c5ed65834b8574eea90259e220 (diff) | |
download | px4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.tar.gz px4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.tar.bz2 px4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.zip |
Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/poll')
-rw-r--r-- | apps/examples/poll/poll_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/poll/poll_internal.h b/apps/examples/poll/poll_internal.h index b2400932e..759d23f1c 100644 --- a/apps/examples/poll/poll_internal.h +++ b/apps/examples/poll/poll_internal.h @@ -71,7 +71,7 @@ # undef HAVE_NETPOLL #endif -/* If debug is enabled, then use lib_rawprintf so that OS debug output and +/* If debug is enabled, then use syslog so that OS debug output and * the test output are synchronized. * * These macros will differ depending upon if the toolchain supports @@ -80,7 +80,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_rawprintf(__VA_ARGS__) +# define message(...) syslog(__VA_ARGS__) # define msgflush() # else # define message(...) printf(__VA_ARGS__) @@ -88,7 +88,7 @@ # endif #else # ifdef CONFIG_DEBUG -# define message lib_rawprintf +# define message syslog # define msgflush() # else # define message printf |