drivers/syslog/ramlog.c: Fix error: Conflicting types for 'ramlog_addchar'
This commit is contained in:
parent
6ba29a93b6
commit
bdbc91be98
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue