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


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/touch
Files:
2 edited

Legend:

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

    r211b0c13 r809813d  
    33
    44/* Entry points for the touch command */
    5 extern int * cmd_touch(char **);
    6 extern void * help_cmd_touch(unsigned int);
     5extern int cmd_touch(char **);
     6extern void help_cmd_touch(unsigned int);
    77
    88#endif /* TOUCH_ENTRY_H */
  • uspace/app/bdsh/cmds/modules/touch/touch.c

    r211b0c13 r809813d  
    4949
    5050/* Dispays help for touch in various levels */
    51 void * help_cmd_touch(unsigned int level)
     51void help_cmd_touch(unsigned int level)
    5252{
    5353        if (level == HELP_SHORT) {
     
    5959        }
    6060
    61         return CMD_VOID;
     61        return;
    6262}
    6363
    6464/* Main entry point for touch, accepts an array of arguments */
    65 int * cmd_touch(char **argv)
     65int cmd_touch(char **argv)
    6666{
    6767        unsigned int argc, i = 0, ret = 0;
Note: See TracChangeset for help on using the changeset viewer.