mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
syslog/intbuffer: some improve for intbuffer
1. add static for internal function 2. add FAR for pointer prototype Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
@@ -94,10 +94,10 @@ static struct syslog_intbuffer_s g_syslog_intbuffer =
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void syslog_flush_internal(bool force, size_t buflen)
|
static void syslog_flush_internal(bool force, size_t buflen)
|
||||||
{
|
{
|
||||||
irqstate_t flags;
|
irqstate_t flags;
|
||||||
char *buffer;
|
FAR char *buffer;
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
/* This logic is performed with the scheduler disabled to protect from
|
/* This logic is performed with the scheduler disabled to protect from
|
||||||
|
|||||||
Reference in New Issue
Block a user