mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
This is no longer inline.
This commit is contained in:
parent
a23fd15786
commit
cea1a4e19d
@ -187,8 +187,9 @@ tor_malloc_zero_(size_t size DMALLOC_PARAMS)
|
||||
* 0xfffe0001. */
|
||||
#define SQRT_SIZE_MAX_P1 (((size_t)1) << (sizeof(size_t)*4))
|
||||
|
||||
/** Return non-zero if and only if the product of the arguments is exact. */
|
||||
inline int
|
||||
/** Return non-zero if and only if the product of the arguments is exact,
|
||||
* and cannot overflow. */
|
||||
int
|
||||
size_mul_check(const size_t x, const size_t y)
|
||||
{
|
||||
/* This first check is equivalent to
|
||||
|
Loading…
Reference in New Issue
Block a user