Ignore:
Timestamp:
2012-04-04T03:55:26Z (12 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1dbe465
Parents:
e4fbccd
Message:

Fix some style issues in bdsh.

  • Slight indentation fix in sleep.c
  • Use a better name in sleep.c
  • Remove static things from header files in various commands
File:
1 edited

Legend:

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

    re4fbccd r081d60f  
    4848                help_cmd_sleep(HELP_SHORT);
    4949                printf(
    50                 "Usage:  %s <duration>\n"
    51                 "The duration is a decimal number of seconds.\n",
    52                 cmdname);
     50                    "Usage:  %s <duration>\n"
     51                    "The duration is a decimal number of seconds.\n",
     52                    cmdname);
    5353        }
    5454
     
    6262 * @return EOK if conversion was successful.
    6363 */
    64 static int str_useconds_t(const char *nptr, useconds_t *result)
     64static int decimal_to_useconds(const char *nptr, useconds_t *result)
    6565{
    6666        int ret;
     
    125125        }
    126126
    127         ret = str_useconds_t(argv[1], &duration);
     127        ret = decimal_to_useconds(argv[1], &duration);
    128128        if (ret != EOK) {
    129129                printf("%s - invalid duration.\n", cmdname);
Note: See TracChangeset for help on using the changeset viewer.