Changes in uspace/app/bdsh/cmds/modules/sleep/sleep.c [f300523:1d6dd2a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/sleep/sleep.c
rf300523 r1d6dd2a 31 31 #include <stdio.h> 32 32 #include <stdlib.h> 33 #include <str.h> 33 34 #include "config.h" 34 35 #include "util.h" … … 62 63 * @return EOK if conversion was successful. 63 64 */ 64 static int decimal_to_useconds(const char *nptr, useconds_t *result)65 static errno_t decimal_to_useconds(const char *nptr, useconds_t *result) 65 66 { 66 int ret;67 errno_t ret; 67 68 uint64_t whole_seconds; 68 69 uint64_t frac_seconds; … … 112 113 int cmd_sleep(char **argv) 113 114 { 114 int ret;115 errno_t ret; 115 116 unsigned int argc; 116 117 useconds_t duration = 0;
Note:
See TracChangeset
for help on using the changeset viewer.