forked from Imagelibrary/rtems
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user