X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libust%2Ftracectl.c;h=3cb86edc80180f535e8a5773d8413ee11032db64;hb=e43efba986e394c099d043a4fb9ce2df61afdbd0;hp=d517fe042ad706e9ade94f9d7620f3f310bf85b5;hpb=86dd0ebc48501adaa23cd872f0c071eb5bf741cf;p=ust.git 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 */