diff options
author | Ron Yorston <rmy@pobox.com> | 2024-06-23 09:35:35 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-06-23 09:44:03 +0100 |
commit | b07c177b446498ccd739b367f9e80337c3dfa55a (patch) | |
tree | 8230bce5f937e46ae1a6f18677904d2eccc4ae9e /include | |
parent | 1b094d366f808a2ebc4824004f0d6f75f13c09cb (diff) | |
parent | a6ce017a8a2db09c6f23aa6abf7ce21fd00c2fdf (diff) | |
download | busybox-w32-b07c177b446498ccd739b367f9e80337c3dfa55a.tar.gz busybox-w32-b07c177b446498ccd739b367f9e80337c3dfa55a.tar.bz2 busybox-w32-b07c177b446498ccd739b367f9e80337c3dfa55a.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 9 |
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; | |||
423 | uint64_t bb_bswap_64(uint64_t x) FAST_FUNC; | 423 | uint64_t bb_bswap_64(uint64_t x) FAST_FUNC; |
424 | #endif | 424 | #endif |
425 | 425 | ||
426 | unsigned FAST_FUNC bb_popcnt_32(uint32_t m); | ||
427 | #if ULONG_MAX > 0xffffffff | ||
428 | unsigned FAST_FUNC bb_popcnt_long(unsigned long m); | ||
429 | #else | ||
430 | #define bb_popcnt_long(m) bb_popcnt_32(m) | ||
431 | #endif | ||
432 | |||
426 | unsigned long FAST_FUNC isqrt(unsigned long long N); | 433 | unsigned long FAST_FUNC isqrt(unsigned long long N); |
427 | 434 | ||
428 | unsigned long long monotonic_ns(void) FAST_FUNC; | 435 | unsigned 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 | ||
2113 | unsigned 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 |