aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h8
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 */
1063uint16_t xatou16(const char *numstr) FAST_FUNC; 1063uint16_t xatou16(const char *numstr) FAST_FUNC;
1064 1064
1065#if ENABLE_FLOAT_DURATION
1066typedef double duration_t;
1067void sleep_for_duration(duration_t duration) FAST_FUNC;
1068#else
1069typedef unsigned duration_t;
1070#define sleep_for_duration(duration) sleep(duration)
1071#endif
1072duration_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