summaryrefslogtreecommitdiff
path: root/nuttx/lib/stdio
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-28 19:43:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-28 19:43:42 +0000
commita20e7be3e8985a1dd8e58b5953e746cc2594fef5 (patch)
tree66c30132869c807f3c523317e1d156d3140b25be /nuttx/lib/stdio
parent96c66099109df5198d95ed32b5278bb574f4c8e5 (diff)
downloadpx4-nuttx-a20e7be3e8985a1dd8e58b5953e746cc2594fef5.tar.gz
px4-nuttx-a20e7be3e8985a1dd8e58b5953e746cc2594fef5.tar.bz2
px4-nuttx-a20e7be3e8985a1dd8e58b5953e746cc2594fef5.zip
Ooops... forgot to add lib_perror.c to the Make.defs file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5062 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/stdio')
-rw-r--r--nuttx/lib/stdio/Make.defs3
-rw-r--r--nuttx/lib/stdio/lib_perror.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/lib/stdio/Make.defs b/nuttx/lib/stdio/Make.defs
index 1165d5354..f88a5edd9 100644
--- a/nuttx/lib/stdio/Make.defs
+++ b/nuttx/lib/stdio/Make.defs
@@ -50,7 +50,8 @@ CSRCS += lib_fopen.c lib_fclose.c lib_fread.c lib_libfread.c lib_fseek.c \
lib_gets.c lib_fwrite.c lib_libfwrite.c lib_fflush.c \
lib_libflushall.c lib_libfflush.c lib_rdflush.c lib_wrflush.c \
lib_fputc.c lib_puts.c lib_fputs.c lib_ungetc.c lib_vprintf.c \
- lib_fprintf.c lib_vfprintf.c lib_stdinstream.c lib_stdoutstream.c
+ lib_fprintf.c lib_vfprintf.c lib_stdinstream.c lib_stdoutstream.c \
+ lib_perror.c
endif
endif
diff --git a/nuttx/lib/stdio/lib_perror.c b/nuttx/lib/stdio/lib_perror.c
index e065e14b8..3be2dd9db 100644
--- a/nuttx/lib/stdio/lib_perror.c
+++ b/nuttx/lib/stdio/lib_perror.c
@@ -83,7 +83,7 @@
* Private Data
****************************************************************************/
-#ifndef CONFIG_LIBC_PERROR_DEVNAME
+#ifdef CONFIG_LIBC_PERROR_DEVNAME
static FILE *perror_stream;
#endif