mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
drivers/syslog/ramlog.c: Fix error: Conflicting types for 'ramlog_addchar'
This commit is contained in:
@@ -233,7 +233,7 @@ static void ramlog_pollnotify(FAR struct ramlog_dev_s *priv,
|
||||
* Name: ramlog_addchar
|
||||
****************************************************************************/
|
||||
|
||||
static int ramlog_addchar(FAR struct ramlog_dev_s *priv, char ch)
|
||||
static ssize_t ramlog_addchar(FAR struct ramlog_dev_s *priv, char ch)
|
||||
{
|
||||
irqstate_t flags;
|
||||
size_t nexthead;
|
||||
|
||||
Reference in New Issue
Block a user