diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-28 17:17:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-28 17:39:27 +0200 |
commit | 5f0ab5cfb5aa04cd08b06a43e8258253703e95ea (patch) | |
tree | 5a960c6fbb151a1b8ee473f84d304b58673f340f /cpukit/libmisc/shell/shell.c | |
parent | SPARC: syscall optimizations and PSR-write fix (diff) | |
download | rtems-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.c')
-rw-r--r-- | cpukit/libmisc/shell/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c index 8666299b06..0f31f2a5c2 100644 --- a/cpukit/libmisc/shell/shell.c +++ b/cpukit/libmisc/shell/shell.c @@ -40,7 +40,7 @@ #include <pthread.h> #include <assert.h> -static rtems_shell_env_t rtems_global_shell_env = { +const rtems_shell_env_t rtems_global_shell_env = { .magic = rtems_build_name('S', 'E', 'N', 'V'), .devname = CONSOLE_DEVICE_NAME, .taskname = "SHGL", |