Changeset 94547d1 in rtems


Ignore:
Timestamp:
Dec 4, 2011, 11:57:51 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
5383441
Parents:
3421e520
Message:

2011-12-04 Ralf Corsépius <ralf.corsepius@…>

  • libmisc/shell/print-ls.c: Include "internal.h".
  • libmisc/shell/pwcache.c: Make user_from_uid static.
  • libmisc/shell/shell.c: Make rtems_shell_init_env, rtems_shell_env_free, rtems_shell_line_editor, rtems_shell_init_issue, rtems_shell_task static.
  • libmisc/shell/shell_cmdset.c: Make rtems_shell_add_topic static.
  • libmisc/shell/shell_makeargs.c: Include <rtems/shell.h>.
  • libmisc/shell/write_file.c: Include <rtems/shell.h>.
Location:
cpukit
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r3421e520 r94547d1  
     12011-12-04      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libmisc/shell/print-ls.c: Include "internal.h".
     4        * libmisc/shell/pwcache.c: Make user_from_uid static.
     5        * libmisc/shell/shell.c: Make rtems_shell_init_env,
     6        rtems_shell_env_free, rtems_shell_line_editor,
     7        rtems_shell_init_issue, rtems_shell_task static.
     8        * libmisc/shell/shell_cmdset.c: Make rtems_shell_add_topic static.
     9        * libmisc/shell/shell_makeargs.c: Include <rtems/shell.h>.
     10        * libmisc/shell/write_file.c: Include <rtems/shell.h>.
     11
    1122011-12-04      Ralf Corsépius <ralf.corsepius@rtems.org>
    213
  • cpukit/libmisc/shell/print-ls.c

    r3421e520 r94547d1  
    6969//#include <util.h>
    7070
     71#include "internal.h"
    7172#include "extern-ls.h"
    7273
  • cpukit/libmisc/shell/pwcache.c

    r3421e520 r94547d1  
    5151#define MASK    (NCACHE - 1)            /* bits to store with */
    5252
    53 const char *
     53static const char *
    5454user_from_uid(uid_t uid, int nouser)
    5555{
  • cpukit/libmisc/shell/shell.c

    r3421e520 r94547d1  
    6262 *  Initialize the shell user/process environment information
    6363 */
    64 rtems_shell_env_t *rtems_shell_init_env(
     64static rtems_shell_env_t *rtems_shell_init_env(
    6565  rtems_shell_env_t *shell_env_p
    6666)
     
    8484 *  Completely free a shell_env_t and all associated memory
    8585 */
    86 void rtems_shell_env_free(
     86static void rtems_shell_env_free(
    8787  void *ptr
    8888)
     
    104104 *  Get a line of user input with modest features
    105105 */
    106 int rtems_shell_line_editor(
     106static int rtems_shell_line_editor(
    107107  char       *cmds[],
    108108  int         count,
     
    385385 * ----------------------------------------------- */
    386386
    387 void rtems_shell_init_issue(void)
     387static void rtems_shell_init_issue(void)
    388388{
    389389  static bool issue_inited=false;
     
    551551#endif
    552552
    553 rtems_task rtems_shell_task(rtems_task_argument task_argument)
     553static rtems_task rtems_shell_task(rtems_task_argument task_argument)
    554554{
    555555  rtems_shell_env_t *shell_env = (rtems_shell_env_t*) task_argument;
  • cpukit/libmisc/shell/shell_cmdset.c

    r3421e520 r94547d1  
    6666 *  Add a new topic to the list of topics
    6767 */
    68 rtems_shell_topic_t * rtems_shell_add_topic(const char * topic) {
     68static rtems_shell_topic_t * rtems_shell_add_topic(const char * topic) {
    6969  rtems_shell_topic_t * current,*aux;
    7070
  • cpukit/libmisc/shell/shell_makeargs.c

    r3421e520 r94547d1  
    1818#include <string.h>
    1919#include <ctype.h>
     20#include <rtems/shell.h>
    2021
    2122int rtems_shell_make_args(
  • cpukit/libmisc/shell/write_file.c

    r3421e520 r94547d1  
    2323#include <string.h>
    2424
     25#include <rtems/shell.h>
     26
    2527void rtems_shell_write_file(
    2628  const char *name,
Note: See TracChangeset for help on using the changeset viewer.