Changeset b510d52 in mainline for uspace/app/bdsh/cmds/modules/rm


Ignore:
Timestamp:
2008-08-25T05:38:01Z (18 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2ea8d7e
Parents:
74965d2
Message:

Fix command description display, only command entry points need to be exposed.

Location:
uspace/app/bdsh/cmds/modules/rm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/rm/rm.c

    r74965d2 rb510d52  
    5858};
    5959
    60 unsigned int rm_start(rm_job_t *rm)
     60static unsigned int rm_start(rm_job_t *rm)
    6161{
    6262        rm->recursive = 0;
     
    8686}
    8787
    88 void rm_end(rm_job_t *rm)
     88static void rm_end(rm_job_t *rm)
    8989{
    9090        if (NULL != rm->nwd)
     
    100100}
    101101
    102 unsigned int rm_recursive(const char *path)
     102static unsigned int rm_recursive(const char *path)
    103103{
    104104        int rc;
     
    115115}
    116116
    117 unsigned int rm_single(const char *path)
     117static unsigned int rm_single(const char *path)
    118118{
    119119        if (unlink(path)) {
     
    124124}
    125125
    126 unsigned int rm_scope(const char *path)
     126static unsigned int rm_scope(const char *path)
    127127{
    128128        int fd;
  • uspace/app/bdsh/cmds/modules/rm/rm.def

    r74965d2 rb510d52  
    11{
    22        "rm",
    3         "The rm command",
     3        "Remove files and directories",
    44        &cmd_rm,
    55        &help_cmd_rm,
  • uspace/app/bdsh/cmds/modules/rm/rm.h

    r74965d2 rb510d52  
    3434
    3535/* Prototypes for the rm command, excluding entry points */
    36 extern unsigned int rm_start(rm_job_t *);
    37 extern void rm_end(rm_job_t *rm);
    38 extern unsigned int rm_recursive(const char *);
    39 extern unsigned int rm_single(const char *);
    40 extern unsigned int rm_scope(const char *);
     36static unsigned int rm_start(rm_job_t *);
     37static void rm_end(rm_job_t *rm);
     38static unsigned int rm_recursive(const char *);
     39static unsigned int rm_single(const char *);
     40static unsigned int rm_scope(const char *);
    4141
    4242#endif /* RM_H */
Note: See TracChangeset for help on using the changeset viewer.