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:
parent
ac29d94d9c
commit
c84a3e3519
|
@ -98,6 +98,7 @@ static int syslogstream_flush(FAR struct lib_syslogstream_s *stream)
|
||||||
* Name: syslogstream_addchar
|
* Name: syslogstream_addchar
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifdef CONFIG_SYSLOG_BUFFER
|
||||||
static void syslogstream_addchar(FAR struct lib_syslogstream_s *stream, int ch)
|
static void syslogstream_addchar(FAR struct lib_syslogstream_s *stream, int ch)
|
||||||
{
|
{
|
||||||
FAR struct iob_s *iob = stream->iob;
|
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);
|
syslogstream_flush(stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: syslogstream_putc
|
* Name: syslogstream_putc
|
||||||
|
|
Loading…
Reference in New Issue