aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-06-23 09:35:35 +0100
committerRon Yorston <rmy@pobox.com>2024-06-23 09:44:03 +0100
commitb07c177b446498ccd739b367f9e80337c3dfa55a (patch)
tree8230bce5f937e46ae1a6f18677904d2eccc4ae9e /include
parent1b094d366f808a2ebc4824004f0d6f75f13c09cb (diff)
parenta6ce017a8a2db09c6f23aa6abf7ce21fd00c2fdf (diff)
downloadbusybox-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.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