Add missing exports, set return value
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Aug 2011 11:05:07 +0000 (07:05 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Aug 2011 11:05:07 +0000 (07:05 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/lttng-ust-comm.c

index 39153de85eff3e24049c1e6b62c38fe408e0f991..0f7bc34b6ed14200af50f44731c89ca1ee1a4457 100644 (file)
@@ -34,6 +34,7 @@
 #include <ust/usterr-signal-safe.h>
 #include <ust/lttng-ust-abi.h>
 #include <ust/tracepoint.h>
+#include <ust/tracepoint-internal.h>
 
 /*
  * 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;
        }
This page took 0.027769 seconds and 4 git commands to generate.