Changeset 3421e520 in rtems


Ignore:
Timestamp:
Dec 4, 2011, 10:22:51 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
94547d1
Parents:
f1d9293e
Message:
  • libmisc/shell/main_help.c: Make rtems_shell_help_cmd, rtems_shell_help static.
  • libmisc/shell/main_hexdump.c: Make main_hexdump static.
  • libmisc/shell/main_id.c: Make rtems_shell_main_id static.
  • libmisc/shell/main_ifconfig.c: Make rtems_shell_main_ifconfig static.
  • libmisc/shell/main_ln.c: Make rtems_shell_main_ln static.
  • libmisc/shell/main_logoff.c: Make rtems_shell_main_logoff static.
  • libmisc/shell/main_ls.c: Make rtems_shell_main_ls static.
  • libmisc/shell/main_mallocinfo.c: Include <rtems/libcsupport.h>. Remove private decls of malloc_info, rtems_shell_print_unified_work_area_message. Make rtems_shell_main_malloc_info static.
  • libmisc/shell/main_medit.c: Remove private decl of rtems_shell_main_mdump. Make rtems_shell_main_medit static.
  • libmisc/shell/main_mfill.c: Make rtems_shell_main_mfill static.
  • libmisc/shell/main_mkdir.c: Make rtems_shell_main_mkdir static.
  • libmisc/shell/main_mknod.c: Make rtems_shell_main_mknod static.
  • libmisc/shell/main_mmove.c: Remove private decl of rtems_shell_main_mdump. Make rtems_shell_main_mmove static.
  • libmisc/shell/main_mount.c: Make rtems_shell_main_mount static.
  • libmisc/shell/main_msdosfmt.c: Make rtems_shell_main_msdos_format static.
  • libmisc/shell/main_mv.c: Include "internal.h". Make rtems_shell_mv_exit, rtems_shell_main_mv static. Remove private decls of strmode rtems_shell_main_cp, rtems_shell_main_rm.
  • libmisc/shell/main_mwdump.c: Make rtems_shell_main_mwdump static.
  • libmisc/shell/main_netstats.c: Make rtems_shell_main_netstats static.
  • libmisc/shell/main_perioduse.c: Make rtems_shell_main_perioduse static.
  • libmisc/shell/main_pwd.c: Make rtems_shell_main_pwd static.
  • libmisc/shell/main_rm.c: Include "internal.h". Make rtems_shell_rm_exit static. Remove private decl of strmode.
  • libmisc/shell/main_rmdir.c: Make rtems_shell_main_rmdir static. libmisc/shell/main_route.c: Make rtems_shell_main_route static.
  • libmisc/shell/main_setenv.c: Make rtems_shell_main_setenv static.
  • libmisc/shell/main_sleep.c: Make rtems_shell_main_sleep static.
  • libmisc/shell/main_stackuse.c: Make rtems_shell_main_stackuse static.
  • libmisc/shell/main_time.c: Make rtems_shell_main_time static.
  • libmisc/shell/main_tty.c: Make rtems_shell_main_tty static.
  • libmisc/shell/main_umask.c: Make rtems_shell_main_umask static.
  • libmisc/shell/main_unmount.c: Make rtems_shell_main_unmount static.
  • libmisc/shell/main_unsetenv.c: Make rtems_shell_main_unsetenv static.
  • libmisc/shell/main_whoami.c: Make rtems_shell_main_whoami static.
  • libmisc/shell/main_wkspaceinfo.c: Make rtems_shell_main_wkspace_info static.
Location:
cpukit
Files:
34 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rf1d9293e r3421e520  
     12011-12-04      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libmisc/shell/main_help.c: Make rtems_shell_help_cmd,
     4        rtems_shell_help static.
     5        * libmisc/shell/main_hexdump.c: Make main_hexdump static.
     6        * libmisc/shell/main_id.c: Make rtems_shell_main_id static.
     7        * libmisc/shell/main_ifconfig.c: Make rtems_shell_main_ifconfig static.
     8        * libmisc/shell/main_ln.c: Make rtems_shell_main_ln static.
     9        * libmisc/shell/main_logoff.c: Make rtems_shell_main_logoff static.
     10        * libmisc/shell/main_ls.c: Make rtems_shell_main_ls static.
     11        * libmisc/shell/main_mallocinfo.c: Include <rtems/libcsupport.h>.
     12        Remove private decls of malloc_info,
     13        rtems_shell_print_unified_work_area_message.
     14        Make rtems_shell_main_malloc_info static.
     15        * libmisc/shell/main_medit.c: Remove private decl of
     16        rtems_shell_main_mdump.
     17        Make rtems_shell_main_medit static.
     18        * libmisc/shell/main_mfill.c: Make rtems_shell_main_mfill static.
     19        * libmisc/shell/main_mkdir.c: Make rtems_shell_main_mkdir static.
     20        * libmisc/shell/main_mknod.c: Make rtems_shell_main_mknod static.
     21        * libmisc/shell/main_mmove.c: Remove private decl of
     22        rtems_shell_main_mdump.
     23        Make rtems_shell_main_mmove static.
     24        * libmisc/shell/main_mount.c: Make rtems_shell_main_mount static.
     25        * libmisc/shell/main_msdosfmt.c: Make rtems_shell_main_msdos_format
     26        static.
     27        * libmisc/shell/main_mv.c: Include "internal.h".
     28        Make rtems_shell_mv_exit, rtems_shell_main_mv static.
     29        Remove private decls of strmode rtems_shell_main_cp,
     30        rtems_shell_main_rm.
     31        * libmisc/shell/main_mwdump.c: Make rtems_shell_main_mwdump static.
     32        * libmisc/shell/main_netstats.c: Make rtems_shell_main_netstats
     33        static.
     34        * libmisc/shell/main_perioduse.c: Make rtems_shell_main_perioduse
     35        static.
     36        * libmisc/shell/main_pwd.c: Make rtems_shell_main_pwd static.
     37        * libmisc/shell/main_rm.c: Include "internal.h".
     38        Make rtems_shell_rm_exit static.
     39        Remove private decl of strmode.
     40        * libmisc/shell/main_rmdir.c: Make rtems_shell_main_rmdir static.
     41        libmisc/shell/main_route.c: Make rtems_shell_main_route static.
     42        * libmisc/shell/main_setenv.c: Make rtems_shell_main_setenv static.
     43        * libmisc/shell/main_sleep.c: Make rtems_shell_main_sleep static.
     44        * libmisc/shell/main_stackuse.c: Make rtems_shell_main_stackuse static.
     45        * libmisc/shell/main_time.c: Make rtems_shell_main_time static.
     46        * libmisc/shell/main_tty.c: Make rtems_shell_main_tty static.
     47        * libmisc/shell/main_umask.c: Make rtems_shell_main_umask static.
     48        * libmisc/shell/main_unmount.c: Make rtems_shell_main_unmount
     49        static.
     50        * libmisc/shell/main_unsetenv.c: Make rtems_shell_main_unsetenv
     51        static.
     52        * libmisc/shell/main_whoami.c: Make rtems_shell_main_whoami static.
     53        * libmisc/shell/main_wkspaceinfo.c: Make
     54        rtems_shell_main_wkspace_info static.
     55
    1562011-12-04      Ralf Corsépius <ralf.corsepius@rtems.org>
    257
  • cpukit/libmisc/shell/main_help.c

    rf1d9293e r3421e520  
    2828 * show the help for one command.
    2929 */
    30 int rtems_shell_help_cmd(
     30static int rtems_shell_help_cmd(
    3131  rtems_shell_cmd_t *shell_cmd
    3232)
     
    7777 * The same with all the commands....
    7878 */
    79 int rtems_shell_help(
     79static int rtems_shell_help(
    8080  int argc,
    8181  char * argv[]
  • cpukit/libmisc/shell/main_hexdump.c

    rf1d9293e r3421e520  
    8080static int main_hexdump(rtems_shell_hexdump_globals* globals, int argc, char *argv[]);
    8181
    82 int
     82static int
    8383rtems_shell_main_hexdump(int argc, char *argv[])
    8484{
  • cpukit/libmisc/shell/main_id.c

    rf1d9293e r3421e520  
    2929#include "internal.h"
    3030
    31 int rtems_shell_main_id(
     31static int rtems_shell_main_id(
    3232  int   argc __attribute__((unused)),
    3333  char *argv[] __attribute__((unused))
  • cpukit/libmisc/shell/main_ifconfig.c

    rf1d9293e r3421e520  
    3030#include "internal.h"
    3131
    32 int rtems_shell_main_ifconfig(
     32static int rtems_shell_main_ifconfig(
    3333  int   argc,
    3434  char *argv[]
  • cpukit/libmisc/shell/main_ln.c

    rf1d9293e r3421e520  
    103103static int main_ln(rtems_shell_ln_globals* globals, int argc, char *argv[]);
    104104
    105 int
    106 rtems_shell_main_ln(int argc, char *argv[])
     105static int rtems_shell_main_ln(int argc, char *argv[])
    107106{
    108107  rtems_shell_ln_globals  ln_globals;
  • cpukit/libmisc/shell/main_logoff.c

    rf1d9293e r3421e520  
    2323#include "internal.h"
    2424
    25 int rtems_shell_main_logoff(
     25static int rtems_shell_main_logoff(
    2626  int   argc __attribute__((unused)),
    2727  char *argv[] __attribute__((unused))
  • cpukit/libmisc/shell/main_ls.c

    rf1d9293e r3421e520  
    133133static int main_ls(rtems_shell_ls_globals* globals, int argc, char *argv[]);
    134134
    135 int
    136 rtems_shell_main_ls(int argc, char *argv[])
     135static int rtems_shell_main_ls(int argc, char *argv[])
    137136{
    138137  rtems_shell_ls_globals  ls_globals;
  • cpukit/libmisc/shell/main_mallocinfo.c

    rf1d9293e r3421e520  
    2020#include <rtems.h>
    2121#include <rtems/malloc.h>
     22#include <rtems/libcsupport.h>
    2223#include <rtems/shell.h>
     24
    2325#include "internal.h"
    2426
    25 extern int malloc_info( region_information_block * );
    26 extern void rtems_shell_print_unified_work_area_message(void);
    27 
    28 int rtems_shell_main_malloc_info(
     27static int rtems_shell_main_malloc_info(
    2928  int   argc,
    3029  char *argv[]
  • cpukit/libmisc/shell/main_medit.c

    rf1d9293e r3421e520  
    2626#include "internal.h"
    2727
    28 extern int rtems_shell_main_mdump(int, char *);
    29 
    30 int rtems_shell_main_medit(
     28static int rtems_shell_main_medit(
    3129  int   argc,
    3230  char *argv[]
  • cpukit/libmisc/shell/main_mfill.c

    rf1d9293e r3421e520  
    2626#include "internal.h"
    2727
    28 int rtems_shell_main_mfill(
     28static int rtems_shell_main_mfill(
    2929  int   argc,
    3030  char *argv[]
  • cpukit/libmisc/shell/main_mkdir.c

    rf1d9293e r3421e520  
    2828#include "internal.h"
    2929
    30 int rtems_shell_main_mkdir(
     30static int rtems_shell_main_mkdir(
    3131  int   argc,
    3232  char *argv[]
  • cpukit/libmisc/shell/main_mknod.c

    rf1d9293e r3421e520  
    101101#include "mknod-pack_dev.c"
    102102
    103 int
     103static int
    104104rtems_shell_main_mknod(int argc, char *argv[])
    105105{
  • cpukit/libmisc/shell/main_mmove.c

    rf1d9293e r3421e520  
    2626#include "internal.h"
    2727
    28 extern int rtems_shell_main_mdump(int, char *);
    29 
    30 int rtems_shell_main_mmove(
     28static int rtems_shell_main_mmove(
    3129  int   argc,
    3230  char *argv[]
  • cpukit/libmisc/shell/main_mount.c

    rf1d9293e r3421e520  
    3535}
    3636
    37 int rtems_shell_main_mount(
     37static int rtems_shell_main_mount(
    3838  int   argc,
    3939  char *argv[]
  • cpukit/libmisc/shell/main_msdosfmt.c

    rf1d9293e r3421e520  
    2525#include "internal.h"
    2626
    27 int rtems_shell_main_msdos_format(
     27static int rtems_shell_main_msdos_format(
    2828  int   argc,
    2929  char *argv[]
  • cpukit/libmisc/shell/main_mv.c

    rf1d9293e r3421e520  
    7575#include <unistd.h>
    7676
     77#include "internal.h"
     78
    7779#include "pathnames-mv.h"
    7880
     
    101103#define exit(ec) rtems_shell_mv_exit(globals, ec)
    102104
    103 void
     105static void
    104106rtems_shell_mv_exit (rtems_shell_mv_globals* globals, int code)
    105107{
     
    108110}
    109111
    110 void strmode(mode_t mode, char *p);
    111112const char *user_from_uid(uid_t uid, int nouser);
    112113char *group_from_gid(gid_t gid, int nogroup);
    113114
    114 static int main_mv(rtems_shell_mv_globals* globals, int argc, char *argv[]);
    115 
    116 int rtems_shell_main_cp(int argc, char *argv[]);
    117 int rtems_shell_main_rm(int argc, char *argv[]);
    118 
    119 int
     115static int
    120116rtems_shell_main_mv(int argc, char *argv[])
    121117{
  • cpukit/libmisc/shell/main_mwdump.c

    rf1d9293e r3421e520  
    2727#include "internal.h"
    2828
    29 int rtems_shell_main_mwdump(
     29static int rtems_shell_main_mwdump(
    3030  int   argc,
    3131  char *argv[]
  • cpukit/libmisc/shell/main_netstats.c

    rf1d9293e r3421e520  
    4040}
    4141
    42 int rtems_shell_main_netstats(                       /* command */
     42static int rtems_shell_main_netstats(                       /* command */
    4343  int   argc,
    4444  char *argv[]
  • cpukit/libmisc/shell/main_perioduse.c

    rf1d9293e r3421e520  
    2222#include "internal.h"
    2323
    24 int rtems_shell_main_perioduse(
     24static int rtems_shell_main_perioduse(
    2525  int   argc,
    2626  char *argv[]
  • cpukit/libmisc/shell/main_pwd.c

    rf1d9293e r3421e520  
    2424#include "internal.h"
    2525
    26 int rtems_shell_main_pwd(
     26static int rtems_shell_main_pwd(
    2727  int   argc __attribute__((unused)),
    2828  char *argv[] __attribute__((unused))
  • cpukit/libmisc/shell/main_rm.c

    rf1d9293e r3421e520  
    6868#include <unistd.h>
    6969
     70#include "internal.h"
     71
    7072#define rindex(s,c)     strrchr(s,c)
    7173
     
    9597
    9698#define exit(ec) rtems_shell_rm_exit(globals, ec)
    97 void
     99static void
    98100rtems_shell_rm_exit (rtems_shell_rm_globals* globals, int code)
    99101{
     
    536538}
    537539
    538 void strmode(mode_t mode, char *p);
    539540char *fflagstostr(u_long flags);
    540541const char *user_from_uid(uid_t uid, int nouser);
  • cpukit/libmisc/shell/main_rmdir.c

    rf1d9293e r3421e520  
    2626#include "internal.h"
    2727
    28 int rtems_shell_main_rmdir (int argc, char *argv[])
     28static int rtems_shell_main_rmdir (int argc, char *argv[])
    2929{
    3030  char *dir;
  • cpukit/libmisc/shell/main_route.c

    rf1d9293e r3421e520  
    2828#include "internal.h"
    2929
    30 int rtems_shell_main_route(
     30static int rtems_shell_main_route(
    3131  int   argc,
    3232  char *argv[]
  • cpukit/libmisc/shell/main_setenv.c

    rf1d9293e r3421e520  
    1717#include "internal.h"
    1818
    19 int rtems_shell_main_setenv(int argc, char *argv[])
     19static int rtems_shell_main_setenv(int argc, char *argv[])
    2020{
    2121  char* env = NULL;
  • cpukit/libmisc/shell/main_sleep.c

    rf1d9293e r3421e520  
    2424#include "internal.h"
    2525
    26 int rtems_shell_main_sleep(
     26static int rtems_shell_main_sleep(
    2727  int   argc,
    2828  char *argv[]
  • cpukit/libmisc/shell/main_stackuse.c

    rf1d9293e r3421e520  
    2323#include "internal.h"
    2424
    25 int rtems_shell_main_stackuse(
     25static int rtems_shell_main_stackuse(
    2626  int   argc __attribute__((unused)),
    2727  char *argv[] __attribute__((unused))
  • cpukit/libmisc/shell/main_time.c

    rf1d9293e r3421e520  
    3636#endif
    3737
    38 int rtems_shell_main_time(
     38static int rtems_shell_main_time(
    3939  int   argc,
    4040  char *argv[]
  • cpukit/libmisc/shell/main_tty.c

    rf1d9293e r3421e520  
    2626#include "internal.h"
    2727
    28 int rtems_shell_main_tty(
     28static int rtems_shell_main_tty(
    2929  int   argc __attribute__((unused)),
    3030  char *argv[] __attribute__((unused))
  • cpukit/libmisc/shell/main_umask.c

    rf1d9293e r3421e520  
    2929#include "internal.h"
    3030
    31 int rtems_shell_main_umask(
     31static int rtems_shell_main_umask(
    3232  int   argc,
    3333  char *argv[]
  • cpukit/libmisc/shell/main_unmount.c

    rf1d9293e r3421e520  
    2828#include "internal.h"
    2929
    30 int rtems_shell_main_unmount(
     30static int rtems_shell_main_unmount(
    3131  int   argc,
    3232  char *argv[]
  • cpukit/libmisc/shell/main_unsetenv.c

    rf1d9293e r3421e520  
    1717#include "internal.h"
    1818
    19 int rtems_shell_main_unsetenv(int argc, char *argv[])
     19static int rtems_shell_main_unsetenv(int argc, char *argv[])
    2020{
    2121  if (argc != 2)
  • cpukit/libmisc/shell/main_whoami.c

    rf1d9293e r3421e520  
    2727#include "internal.h"
    2828
    29 int rtems_shell_main_whoami(
     29static int rtems_shell_main_whoami(
    3030  int   argc __attribute__((unused)),
    3131  char *argv[] __attribute__((unused))
  • cpukit/libmisc/shell/main_wkspaceinfo.c

    rf1d9293e r3421e520  
    3232}
    3333
    34 int rtems_shell_main_wkspace_info(
     34static int rtems_shell_main_wkspace_info(
    3535  int   argc __attribute__((unused)),
    3636  char *argv[] __attribute__((unused))
Note: See TracChangeset for help on using the changeset viewer.