From d2dfd9fdd6cb1c57375468919c1b37e91b3a8f3e Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 31 Jan 2012 15:41:07 +0000 Subject: Various fixes for the telnet driver git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4351 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/lib/stdio/lib_fprintf.c | 4 ++-- nuttx/lib/stdio/lib_libfflush.c | 4 ++-- nuttx/lib/stdio/lib_printf.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'nuttx/lib/stdio') diff --git a/nuttx/lib/stdio/lib_fprintf.c b/nuttx/lib/stdio/lib_fprintf.c index 4ebb3d7d2..a803de4bd 100644 --- a/nuttx/lib/stdio/lib_fprintf.c +++ b/nuttx/lib/stdio/lib_fprintf.c @@ -1,8 +1,8 @@ /**************************************************************************** * lib/stdio/lib_fprintf.c * - * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_libfflush.c b/nuttx/lib/stdio/lib_libfflush.c index ddfc6c8ff..5da9c763d 100644 --- a/nuttx/lib/stdio/lib_libfflush.c +++ b/nuttx/lib/stdio/lib_libfflush.c @@ -1,7 +1,7 @@ /**************************************************************************** * lib/stdio/lib_libfflush.c * - * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -108,7 +108,7 @@ ssize_t lib_fflush(FAR FILE *stream, bool bforce) #if CONFIG_STDIO_BUFFER_SIZE > 0 FAR const unsigned char *src; ssize_t bytes_written; - size_t nbuffer; + ssize_t nbuffer; /* Return EBADF if the file is not opened for writing */ diff --git a/nuttx/lib/stdio/lib_printf.c b/nuttx/lib/stdio/lib_printf.c index d24355f40..50db06c47 100644 --- a/nuttx/lib/stdio/lib_printf.c +++ b/nuttx/lib/stdio/lib_printf.c @@ -1,8 +1,8 @@ /**************************************************************************** * lib/stdio/lib_printf.c * - * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions -- cgit v1.2.3