mirror of
https://github.com/apache/nuttx.git
synced 2025-01-12 23:18:36 +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:
parent
bc6bf019dd
commit
29f1ca2c79
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue