diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-11 15:27:44 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-11 15:27:44 +0000 |
commit | 4cb67b0b1b9ce6ba8c524a3a5b4fbb8f8aa184bb (patch) | |
tree | 521e0720bfb45fd55e5fb5970cae76d38f60bc4d /nuttx/include | |
parent | 75e67f05d4b97efc32d95b478ec1c1f959992a4b (diff) | |
download | px4-nuttx-4cb67b0b1b9ce6ba8c524a3a5b4fbb8f8aa184bb.tar.gz px4-nuttx-4cb67b0b1b9ce6ba8c524a3a5b4fbb8f8aa184bb.tar.bz2 px4-nuttx-4cb67b0b1b9ce6ba8c524a3a5b4fbb8f8aa184bb.zip |
Add dmesg command that can be used to dump the syslog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4382 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/ramlog.h | 6 | ||||
-rw-r--r-- | nuttx/include/nuttx/streams.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/ramlog.h b/nuttx/include/nuttx/ramlog.h index d1b9dea97..a800c077f 100644 --- a/nuttx/include/nuttx/ramlog.h +++ b/nuttx/include/nuttx/ramlog.h @@ -98,6 +98,10 @@ # undef CONFIG_RAMLOG_SYSLOG #endif +#ifndef CONFIG_RAMLOG_CONSOLE_BUFSIZE +# define CONFIG_RAMLOG_CONSOLE_BUFSIZE 1024 +#endif + /**************************************************************************** * Public Data ****************************************************************************/ @@ -164,7 +168,7 @@ EXTERN int ramlog_consoleinit(void) ****************************************************************************/ #if !defined(CONFIG_RAMLOG_CONSOLE) && defined(CONFIG_RAMLOG_SYSLOG) -EXTERN int ramlog_sysloginit(void) +EXTERN int ramlog_sysloginit(void); #endif /**************************************************************************** diff --git a/nuttx/include/nuttx/streams.h b/nuttx/include/nuttx/streams.h index 8317eacbd..38ceb584c 100644 --- a/nuttx/include/nuttx/streams.h +++ b/nuttx/include/nuttx/streams.h @@ -284,7 +284,7 @@ EXTERN void lib_nulloutstream(FAR struct lib_outstream_s *nulloutstream); ****************************************************************************/ #ifdef CONFIG_SYSLOG -EXTERN void lib_sylogstream(FAR struct lib_outstream_s *stream); +EXTERN void lib_syslogstream(FAR struct lib_outstream_s *stream); #endif #undef EXTERN |