Changeset 809813d in mainline for uspace/app/bdsh/cmds/modules/pwd


Ignore:
Timestamp:
2008-09-14T15:43:22Z (17 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6279151
Parents:
211b0c13
Message:

Simplify entry types (and return values) for commands

Location:
uspace/app/bdsh/cmds/modules/pwd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/pwd/entry.h

    r211b0c13 r809813d  
    55
    66/* Entry points for the pwd command */
    7 extern void * help_cmd_pwd(unsigned int);
    8 extern int * cmd_pwd(char **);
     7extern void help_cmd_pwd(unsigned int);
     8extern int cmd_pwd(char **);
    99
    1010#endif
  • uspace/app/bdsh/cmds/modules/pwd/pwd.c

    r211b0c13 r809813d  
    4040static char * cmdname = "pwd";
    4141
    42 void * help_cmd_pwd(unsigned int level)
     42void help_cmd_pwd(unsigned int level)
    4343{
    4444        printf("`%s' prints your current working directory.\n", cmdname);
    45         return CMD_VOID;
     45        return;
    4646}
    4747
    48 int * cmd_pwd(char *argv[])
     48int cmd_pwd(char *argv[])
    4949{
    5050        char *buff;
Note: See TracChangeset for help on using the changeset viewer.