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:
Gregory Nutt 2017-05-12 07:57:45 -06:00
parent ac29d94d9c
commit c84a3e3519
1 changed files with 2 additions and 0 deletions

View File

@ -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