summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-02 12:36:20 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-02 12:36:20 -0600
commit3491769808897f4e1a2e006a8096ef787190a600 (patch)
treec87285e9b3c08f6e0d0c37da61f00051bbd09d3d
parent7bb7cd277f56b8a9f7befd4799eb1bb4eae3a26f (diff)
downloadnuttx-3491769808897f4e1a2e006a8096ef787190a600.tar.gz
nuttx-3491769808897f4e1a2e006a8096ef787190a600.tar.bz2
nuttx-3491769808897f4e1a2e006a8096ef787190a600.zip
Add FAR to a couple of functions. The Z16F cares about such things
-rw-r--r--nuttx/TODO2
-rw-r--r--nuttx/libc/stdio/lib_lowsyslog.c4
-rw-r--r--nuttx/libc/stdio/lib_printf.c2
-rw-r--r--nuttx/libc/stdio/lib_syslog.c4
-rw-r--r--nuttx/libc/stdio/lib_syslogstream.c2
5 files changed, 6 insertions, 8 deletions
diff --git a/nuttx/TODO b/nuttx/TODO
index d427f4373..f24f04314 100644
--- a/nuttx/TODO
+++ b/nuttx/TODO
@@ -1,4 +1,4 @@
-NuttX TODO List (Last updated December 29, 2013)
+NuttX TODO List (Last updated January 2, 2014)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This file summarizes known NuttX bugs, limitations, inconsistencies with
diff --git a/nuttx/libc/stdio/lib_lowsyslog.c b/nuttx/libc/stdio/lib_lowsyslog.c
index bfe6a2cce..364a41831 100644
--- a/nuttx/libc/stdio/lib_lowsyslog.c
+++ b/nuttx/libc/stdio/lib_lowsyslog.c
@@ -90,7 +90,7 @@
#if defined(CONFIG_ARCH_LOWPUTC) || defined(CONFIG_SYSLOG)
-int lowvsyslog(const char *fmt, va_list ap)
+int lowvsyslog(FAR const char *fmt, va_list ap)
{
struct lib_outstream_s stream;
@@ -108,7 +108,7 @@ int lowvsyslog(const char *fmt, va_list ap)
* Name: lowsyslog
****************************************************************************/
-int lowsyslog(const char *fmt, ...)
+int lowsyslog(FAR const char *fmt, ...)
{
va_list ap;
int ret;
diff --git a/nuttx/libc/stdio/lib_printf.c b/nuttx/libc/stdio/lib_printf.c
index 178cf9c65..a4530daad 100644
--- a/nuttx/libc/stdio/lib_printf.c
+++ b/nuttx/libc/stdio/lib_printf.c
@@ -86,7 +86,7 @@
* Name: printf
**************************************************************************/
-int printf(const char *fmt, ...)
+int printf(FAR const char *fmt, ...)
{
va_list ap;
int ret;
diff --git a/nuttx/libc/stdio/lib_syslog.c b/nuttx/libc/stdio/lib_syslog.c
index bbf7860d2..4e5afcebb 100644
--- a/nuttx/libc/stdio/lib_syslog.c
+++ b/nuttx/libc/stdio/lib_syslog.c
@@ -91,7 +91,7 @@
* Name: vsyslog
****************************************************************************/
-int vsyslog(const char *fmt, va_list ap)
+int vsyslog(FAR const char *fmt, va_list ap)
{
#if defined(CONFIG_SYSLOG)
@@ -135,7 +135,7 @@ int vsyslog(const char *fmt, va_list ap)
* Name: syslog
****************************************************************************/
-int syslog(const char *fmt, ...)
+int syslog(FAR const char *fmt, ...)
{
va_list ap;
int ret;
diff --git a/nuttx/libc/stdio/lib_syslogstream.c b/nuttx/libc/stdio/lib_syslogstream.c
index e29c5ca3d..7aceeec78 100644
--- a/nuttx/libc/stdio/lib_syslogstream.c
+++ b/nuttx/libc/stdio/lib_syslogstream.c
@@ -119,5 +119,3 @@ void lib_syslogstream(FAR struct lib_outstream_s *stream)
}
#endif /* CONFIG_SYSLOG */
-
-