mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
Bitbucket Issue 47: Some of last syslog changes needed to be condition on #ifdef CONFIG_SYSLOG_BUFFER in order to be built without syslog buffering enabled.
This commit is contained in:
@@ -98,6 +98,7 @@ static int syslogstream_flush(FAR struct lib_syslogstream_s *stream)
|
||||
* Name: syslogstream_addchar
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SYSLOG_BUFFER
|
||||
static void syslogstream_addchar(FAR struct lib_syslogstream_s *stream, int ch)
|
||||
{
|
||||
FAR struct iob_s *iob = stream->iob;
|
||||
@@ -120,6 +121,7 @@ static void syslogstream_addchar(FAR struct lib_syslogstream_s *stream, int ch)
|
||||
syslogstream_flush(stream);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: syslogstream_putc
|
||||
|
||||
Reference in New Issue
Block a user