Ignore:
File:
1 edited

Legend:

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

    rf300523 r1d6dd2a  
    3131#include <stdio.h>
    3232#include <stdlib.h>
     33#include <str.h>
    3334#include "config.h"
    3435#include "util.h"
     
    6263 * @return EOK if conversion was successful.
    6364 */
    64 static int decimal_to_useconds(const char *nptr, useconds_t *result)
     65static errno_t decimal_to_useconds(const char *nptr, useconds_t *result)
    6566{
    66         int ret;
     67        errno_t ret;
    6768        uint64_t whole_seconds;
    6869        uint64_t frac_seconds;
     
    112113int cmd_sleep(char **argv)
    113114{
    114         int ret;
     115        errno_t ret;
    115116        unsigned int argc;
    116117        useconds_t duration = 0;
Note: See TracChangeset for help on using the changeset viewer.