shell: Make rtems_global_shell_env public

Provide rtems_global_shell_env as a public read-only variable for
backward compatibility.
This commit is contained in:
Sebastian Huber
2014-05-28 17:17:29 +02:00
parent d6f1ec91b6
commit 5f0ab5cfb5
2 changed files with 3 additions and 1 deletions

View File

@@ -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",