From: Mathieu Desnoyers Date: Fri, 26 Aug 2011 11:05:07 +0000 (-0400) Subject: Add missing exports, set return value X-Git-Tag: v1.9.1~242 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d0a1ae63964b09bb0be1e2e1f3b85095610bc991;p=lttng-ust.git Add missing exports, set return value Signed-off-by: Mathieu Desnoyers --- diff --git a/libust/lttng-ust-comm.c b/libust/lttng-ust-comm.c index 39153de8..0f7bc34b 100644 --- a/libust/lttng-ust-comm.c +++ b/libust/lttng-ust-comm.c @@ -34,6 +34,7 @@ #include #include #include +#include /* * Has lttng ust comm constructor been called ? @@ -113,7 +114,7 @@ int setup_local_apps(void) */ if (getuid() != geteuid()) { local_apps.allowed = 0; - return; + return 0; } else { local_apps.allowed = 1; }