mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
More trailing whilespace removal
This commit is contained in:
@@ -106,7 +106,7 @@ int avsprintf(FAR char **ptr, const char *fmt, va_list ap)
|
||||
/* First, use a nullstream to get the size of the buffer. The number
|
||||
* of bytes returned may or may not include the null terminator.
|
||||
*/
|
||||
|
||||
|
||||
lib_nulloutstream(&nulloutstream);
|
||||
nbytes = lib_vsprintf((FAR struct lib_outstream_s *)&nulloutstream, fmt, ap);
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
* stream.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero on succes; -1 on failure with errno set appropriately.
|
||||
* Zero on succes; -1 on failure with errno set appropriately.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
* only way to portably reposition a stream.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero on succes; -1 on failure with errno set appropriately.
|
||||
* Zero on succes; -1 on failure with errno set appropriately.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
# define FMT_NEXT src++ /* Advance to the next character */
|
||||
# define FMT_PREV src-- /* Backup to the previous character */
|
||||
#endif
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Private Type Declarations
|
||||
****************************************************************************/
|
||||
@@ -225,7 +225,7 @@ static const char g_nullstring[] = "(null)";
|
||||
****************************************************************************/
|
||||
|
||||
/* Include floating point functions */
|
||||
|
||||
|
||||
#ifdef CONFIG_LIBC_FLOATINGPOINT
|
||||
# include "stdio/lib_libdtoa.c"
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
* be defined, however, to provide perror output that is serialized with
|
||||
* other stdout messages.
|
||||
*/
|
||||
|
||||
|
||||
#ifdef CONFIG_LIBC_PERROR_STDOUT
|
||||
# define PERROR_STREAM stdout
|
||||
#else
|
||||
|
||||
@@ -63,7 +63,7 @@ static int stdinstream_getc(FAR struct lib_instream_s *this)
|
||||
{
|
||||
this->nget++;
|
||||
}
|
||||
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user