aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 9055ed066..e5000831f 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -423,6 +423,13 @@ extern int *BB_GLOBAL_CONST bb_errno;
423uint64_t bb_bswap_64(uint64_t x) FAST_FUNC; 423uint64_t bb_bswap_64(uint64_t x) FAST_FUNC;
424#endif 424#endif
425 425
426unsigned FAST_FUNC bb_popcnt_32(uint32_t m);
427#if ULONG_MAX > 0xffffffff
428unsigned FAST_FUNC bb_popcnt_long(unsigned long m);
429#else
430#define bb_popcnt_long(m) bb_popcnt_32(m)
431#endif
432
426unsigned long FAST_FUNC isqrt(unsigned long long N); 433unsigned long FAST_FUNC isqrt(unsigned long long N);
427 434
428unsigned long long monotonic_ns(void) FAST_FUNC; 435unsigned long long monotonic_ns(void) FAST_FUNC;
@@ -2103,6 +2110,8 @@ int read_line_input(const char* prompt, char* command, int maxsize) FAST_FUNC;
2103 read_line_input(prompt, command, maxsize) 2110 read_line_input(prompt, command, maxsize)
2104#endif 2111#endif
2105 2112
2113unsigned long* FAST_FUNC get_malloc_cpu_affinity(int pid, unsigned *sz);
2114
2106#if ENABLE_PLATFORM_MINGW32 2115#if ENABLE_PLATFORM_MINGW32
2107# undef COMM_LEN 2116# undef COMM_LEN
2108# define COMM_LEN 32 2117# define COMM_LEN 32