drivers/syslog/ramlog.c: Fix error: Conflicting types for 'ramlog_addchar'

This commit is contained in:
Xiang Xiao 2019-01-27 12:12:19 -06:00 committed by Gregory Nutt
parent 6ba29a93b6
commit bdbc91be98
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ static void ramlog_pollnotify(FAR struct ramlog_dev_s *priv,
* Name: ramlog_addchar * 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; irqstate_t flags;
size_t nexthead; size_t nexthead;