summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shell.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-28 17:17:29 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-28 17:39:27 +0200
commit5f0ab5cfb5aa04cd08b06a43e8258253703e95ea (patch)
tree5a960c6fbb151a1b8ee473f84d304b58673f340f /cpukit/libmisc/shell/shell.h
parentSPARC: syscall optimizations and PSR-write fix (diff)
downloadrtems-5f0ab5cfb5aa04cd08b06a43e8258253703e95ea.tar.bz2
shell: Make rtems_global_shell_env public
Provide rtems_global_shell_env as a public read-only variable for backward compatibility.
Diffstat (limited to 'cpukit/libmisc/shell/shell.h')
-rw-r--r--cpukit/libmisc/shell/shell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h
index af09ac3a38..76b34c7a5e 100644
--- a/cpukit/libmisc/shell/shell.h
+++ b/cpukit/libmisc/shell/shell.h
@@ -205,6 +205,8 @@ bool rtems_shell_main_loop(
rtems_shell_env_t *rtems_shell_env
);
+extern const rtems_shell_env_t rtems_global_shell_env;
+
rtems_shell_env_t *rtems_shell_get_current_env(void);
#define rtems_current_shell_env rtems_shell_get_current_env()