diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 09:49:17 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 09:49:17 -0600 |
commit | 5b0bcd796648249d9dab13c5e111968f0dad015a (patch) | |
tree | ced49132c3116d63f407ff4407080a93989d9c08 /apps/nshlib/nsh_console.c | |
parent | 0f4004c9a9ecf17828a5c4db18e522da50700cdc (diff) | |
download | nuttx-5b0bcd796648249d9dab13c5e111968f0dad015a.tar.gz nuttx-5b0bcd796648249d9dab13c5e111968f0dad015a.tar.bz2 nuttx-5b0bcd796648249d9dab13c5e111968f0dad015a.zip |
NSH cosmetic changes
Diffstat (limited to 'apps/nshlib/nsh_console.c')
-rw-r--r-- | apps/nshlib/nsh_console.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/nshlib/nsh_console.c b/apps/nshlib/nsh_console.c index de7537bd7..ba7dbe760 100644 --- a/apps/nshlib/nsh_console.c +++ b/apps/nshlib/nsh_console.c @@ -42,10 +42,10 @@ #include <stdint.h> #include <stdio.h> #include <stdlib.h> +#include <stdarg.h> #include <unistd.h> #include <fcntl.h> #include <string.h> -#include <stdarg.h> #include <assert.h> #include <errno.h> #include <debug.h> @@ -213,7 +213,8 @@ static ssize_t nsh_consolewrite(FAR struct nsh_vtbl_s *vtbl, FAR const void *buf * ****************************************************************************/ -static int nsh_consoleoutput(FAR struct nsh_vtbl_s *vtbl, const char *fmt, ...) +static int nsh_consoleoutput(FAR struct nsh_vtbl_s *vtbl, + FAR const char *fmt, ...) { #if CONFIG_NFILE_DESCRIPTORS > 0 FAR struct console_stdio_s *pstate = (FAR struct console_stdio_s *)vtbl; |