Fix some typos and compilation errors introduced in the last checkin

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4384 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-02-12 02:53:01 +00:00
parent 57ae1bb526
commit a563ce3647
13 changed files with 95 additions and 15 deletions
+16 -3
View File
@@ -104,7 +104,7 @@
/* The normal behavior of the RAM log when used as a SYSLOG is to return
* end-of-file if there is no data in the RAM log (rather than blocking until
* data is available). That allows you to cat the SYSLOG with no ill
* data is available). That allows you to 'cat' the SYSLOG with no ill
* consequences.
*/
@@ -113,6 +113,15 @@
# define CONFIG_RAMLOG_NONBLOCKING 1
#endif
/* When used as a console or syslogging device, the RAM log will pre-pend
* line-feeds with carriage returns.
*/
#if defined(CONFIG_RAMLOG_CONSOLE) || defined(CONFIG_RAMLOG_SYSLOG)
# undef CONFIG_RAMLOG_CRLF
# define CONFIG_RAMLOG_CRLF 1
#endif
/****************************************************************************
* Public Data
****************************************************************************/
@@ -163,7 +172,7 @@ EXTERN int ramlog_register(FAR const char *devpath, FAR char *buffer,
****************************************************************************/
#ifdef CONFIG_RAMLOG_CONSOLE
EXTERN int ramlog_consoleinit(void)
EXTERN int ramlog_consoleinit(void);
#endif
/****************************************************************************
@@ -178,8 +187,12 @@ EXTERN int ramlog_consoleinit(void)
*
****************************************************************************/
#if !defined(CONFIG_RAMLOG_CONSOLE) && defined(CONFIG_RAMLOG_SYSLOG)
#ifdef CONFIG_RAMLOG_SYSLOG
#ifndef CONFIG_RAMLOG_CONSOLE
EXTERN int ramlog_sysloginit(void);
#else
# define ramlog_sysloginit()
#endif
#endif
/****************************************************************************