Changeset 5f0ab5cf in rtems


Ignore:
Timestamp:
May 28, 2014, 3:17:29 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
27caaa6
Parents:
d6f1ec91
git-author:
Sebastian Huber <sebastian.huber@…> (05/28/14 15:17:29)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/28/14 15:39:27)
Message:

shell: Make rtems_global_shell_env public

Provide rtems_global_shell_env as a public read-only variable for
backward compatibility.

Location:
cpukit/libmisc/shell
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/shell.c

    rd6f1ec91 r5f0ab5cf  
    4141#include <assert.h>
    4242
    43 static rtems_shell_env_t rtems_global_shell_env = {
     43const rtems_shell_env_t rtems_global_shell_env = {
    4444  .magic         = rtems_build_name('S', 'E', 'N', 'V'),
    4545  .devname       = CONSOLE_DEVICE_NAME,
  • cpukit/libmisc/shell/shell.h

    rd6f1ec91 r5f0ab5cf  
    206206);
    207207
     208extern const rtems_shell_env_t rtems_global_shell_env;
     209
    208210rtems_shell_env_t *rtems_shell_get_current_env(void);
    209211#define rtems_current_shell_env rtems_shell_get_current_env()
Note: See TracChangeset for help on using the changeset viewer.