Add comment to round_to_power_of_2()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 11:18:35 +0000 (07:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 13:19:12 +0000 (09:19 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/dynamic-buffer.c

index 9ed16514fe64fa84dc735f15de862ca662a04fef..05d3022af19d0e4e8ef9d0527a6069394131eb6b 100644 (file)
 #include <common/utils.h>
 #include <assert.h>
 
+/*
+ * Round to (upper) power of two, val is returned if it already is a power of
+ * two.
+ */
 static
 size_t round_to_power_of_2(size_t val)
 {
This page took 0.024782 seconds and 4 git commands to generate.