diff options
author | Ron Yorston <rmy@pobox.com> | 2018-09-10 14:37:07 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-09-10 14:59:33 +0100 |
commit | d89ced75b204f0eb5611f522864beb81d1b393f5 (patch) | |
tree | 5daa31427e287fe079a0ef551097753773fdb266 /include | |
parent | f72845d9332fa6311a46dbcad3180d5008182982 (diff) | |
parent | 05b18065ab9c375f6185b65a3631d4c6cc1a4be9 (diff) | |
download | busybox-w32-d89ced75b204f0eb5611f522864beb81d1b393f5.tar.gz busybox-w32-d89ced75b204f0eb5611f522864beb81d1b393f5.tar.bz2 busybox-w32-d89ced75b204f0eb5611f522864beb81d1b393f5.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 0264282dd..0d09fef66 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1062,6 +1062,14 @@ int xatoi_positive(const char *numstr) FAST_FUNC; | |||
1062 | /* Useful for reading port numbers */ | 1062 | /* Useful for reading port numbers */ |
1063 | uint16_t xatou16(const char *numstr) FAST_FUNC; | 1063 | uint16_t xatou16(const char *numstr) FAST_FUNC; |
1064 | 1064 | ||
1065 | #if ENABLE_FLOAT_DURATION | ||
1066 | typedef double duration_t; | ||
1067 | void sleep_for_duration(duration_t duration) FAST_FUNC; | ||
1068 | #else | ||
1069 | typedef unsigned duration_t; | ||
1070 | #define sleep_for_duration(duration) sleep(duration) | ||
1071 | #endif | ||
1072 | duration_t parse_duration_str(char *str) FAST_FUNC; | ||
1065 | 1073 | ||
1066 | /* These parse entries in /etc/passwd and /etc/group. This is desirable | 1074 | /* These parse entries in /etc/passwd and /etc/group. This is desirable |
1067 | * for BusyBox since we want to avoid using the glibc NSS stuff, which | 1075 | * for BusyBox since we want to avoid using the glibc NSS stuff, which |