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


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

Legend:

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

    r211b0c13 r809813d  
    6060
    6161/* Dispays help for cat in various levels */
    62 void * help_cmd_cat(unsigned int level)
     62void help_cmd_cat(unsigned int level)
    6363{
    6464        if (level == HELP_SHORT) {
     
    7979        }
    8080
    81         return CMD_VOID;
     81        return;
    8282}
    8383
     
    128128
    129129/* Main entry point for cat, accepts an array of arguments */
    130 int * cmd_cat(char **argv)
     130int cmd_cat(char **argv)
    131131{
    132132        unsigned int argc, i, ret = 0, buffer = 0;
  • uspace/app/bdsh/cmds/modules/cat/entry.h

    r211b0c13 r809813d  
    33
    44/* Entry points for the cat command */
    5 extern int * cmd_cat(char **);
    6 extern void * help_cmd_cat(unsigned int);
     5extern int cmd_cat(char **);
     6extern void help_cmd_cat(unsigned int);
    77
    88#endif /* CAT_ENTRY_H */
Note: See TracChangeset for help on using the changeset viewer.