From d0a1ae63964b09bb0be1e2e1f3b85095610bc991 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 26 Aug 2011 07:05:07 -0400 Subject: [PATCH] Add missing exports, set return value Signed-off-by: Mathieu Desnoyers --- libust/lttng-ust-comm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.34.1