From: Pierre-Marc Fournier Date: Thu, 25 Feb 2010 22:55:59 +0000 (-0500) Subject: powerof_two: make static X-Git-Tag: v1.9.1~707 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e43efba986e394c099d043a4fb9ce2df61afdbd0;p=lttng-ust.git powerof_two: make static --- diff --git a/libust/tracectl.c b/libust/tracectl.c index d517fe04..3cb86edc 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -509,7 +509,7 @@ static int do_cmd_get_subbuf_size(const char *recvbuf, struct ustcomm_source *sr return retval; } -unsigned int poweroftwo(unsigned int x) +static unsigned int poweroftwo(unsigned int x) { unsigned int power2 = 1; unsigned int hardcoded = 2147483648; /* FIX max 2^31 */