diff options
Diffstat (limited to 'apps/include/nsh.h')
-rw-r--r-- | apps/include/nsh.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/include/nsh.h b/apps/include/nsh.h index 8e469a555..ff9eb22dd 100644 --- a/apps/include/nsh.h +++ b/apps/include/nsh.h @@ -83,7 +83,7 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" +extern "C" { #else #define EXTERN extern @@ -119,7 +119,7 @@ void nsh_initialize(void); * single an NSH instance that operates on stdin and stdout. This * function does not return. * - * This function handles generic /dev/console character devices, or + * This function handles generic /dev/console character devices, or * special USB console devices. The USB console requires some special * operations to handle the cases where the session is lost when the * USB device is unplugged and restarted when the USB device is plugged @@ -133,7 +133,7 @@ void nsh_initialize(void); * This function does not normally return. exit() is usually called to * terminate the NSH session. This function will return in the event of * an error. In that case, a nonzero value is returned (EXIT_FAILURE=1). - * + * ****************************************************************************/ int nsh_consolemain(int argc, char *argv[]); @@ -153,7 +153,7 @@ int nsh_consolemain(int argc, char *argv[]); * Returned Values: * The task ID of the Telnet daemon was successfully started. A negated * errno value will be returned on failure. - * + * ****************************************************************************/ int nsh_telnetstart(void); |