From 84c38efeff157aac42105ccf709a604af75bf9ec Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 26 Jan 2008 14:35:25 +0000 Subject: Fix a16f serial bugs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@568 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/lib/lib_dbg.c | 2 +- nuttx/lib/lib_vsprintf.c | 52 ++++++++++++++++++++++++------------------------ 2 files changed, 27 insertions(+), 27 deletions(-) (limited to 'nuttx/lib') diff --git a/nuttx/lib/lib_dbg.c b/nuttx/lib/lib_dbg.c index 7ad2ac9d8..4a38b76b7 100644 --- a/nuttx/lib/lib_dbg.c +++ b/nuttx/lib/lib_dbg.c @@ -86,7 +86,7 @@ int lldbg(const char *format, ...) va_end(ap); return ret; } -# endif +#endif #ifdef CONFIG_DEBUG_VERBOSE int vdbg(const char *format, ...) diff --git a/nuttx/lib/lib_vsprintf.c b/nuttx/lib/lib_vsprintf.c index ec3d34fdb..961ddf9ea 100644 --- a/nuttx/lib/lib_vsprintf.c +++ b/nuttx/lib/lib_vsprintf.c @@ -1,7 +1,7 @@ -/************************************************************ +/**************************************************************************** * lib_vsprintf.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,56 +31,56 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Compilation Switches - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include #include #include "lib_internal.h" -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Constant Data - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Constant Data - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * vsprintf - ************************************************************/ + ****************************************************************************/ int vsprintf (char *dest, const char *src, va_list ap) { -- cgit v1.2.3