summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/shell/shell.h')
-rw-r--r--cpukit/libmisc/shell/shell.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h
index c4bf49067a..c95bef5436 100644
--- a/cpukit/libmisc/shell/shell.h
+++ b/cpukit/libmisc/shell/shell.h
@@ -16,14 +16,14 @@
#ifndef __SHELL_H__
#define __SHELL_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <rtems.h>
#include <stdio.h>
#include <termios.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef int (*shell_command_t)(int argc,char * argv[]);
struct shell_cmd_tt ;