From: Pierre-Marc Fournier Date: Thu, 25 Feb 2010 22:55:59 +0000 (-0500) Subject: powerof_two: make static X-Git-Tag: v0.3~23 X-Git-Url: https://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=e43efba986e394c099d043a4fb9ce2df61afdbd0 powerof_two: make static --- diff --git a/libust/tracectl.c b/libust/tracectl.c index d517fe0..3cb86ed 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 */