]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
This is no longer inline.
authorNick Mathewson <nickm@torproject.org>
Fri, 23 Dec 2016 14:50:44 +0000 (09:50 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 23 Dec 2016 14:50:44 +0000 (09:50 -0500)
src/common/util.c

index d02eb664d7d8ea84414a7b0be60a03ece3c3f207..824b4fbc675474e61efdb47acf4e2186ead85b96 100644 (file)
@@ -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