Skip to content

Commit

Permalink
syslog/intbuffer: some improve for intbuffer
Browse files Browse the repository at this point in the history
1. add static for internal function
2. add FAR for pointer prototype

Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao authored and xiaoxiang781216 committed Dec 18, 2024
1 parent bc6bf01 commit 29f1ca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/syslog/syslog_intbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
char *buffer;
FAR char *buffer;
size_t size;

/* This logic is performed with the scheduler disabled to protect from
Expand Down

0 comments on commit 29f1ca2

Please sign in to comment.