configure: enable extended compiler warnings
[lttng-ust.git] / src / lib / lttng-ust-dl / lttng-ust-dl.c
index 82cb07f0101a6ca6c80cd0d9c1296526df95bf27..e07136ce9d012d1c2d1d66641fc3d830349437c9 100644 (file)
@@ -21,8 +21,7 @@
 #include <lttng/ust-events.h>
 #include "common/macros.h"
 #include "common/logging.h"
-
-#include "lib/lttng-ust/ust-events-internal.h"
+#include "common/events.h"
 
 /* Include link.h last else it conflicts with ust-dlfcn. */
 #include <link.h>
@@ -37,15 +36,6 @@ static void *(*__lttng_ust_plibc_dlmopen)(Lmid_t nsid, const char *filename,
 #endif
 static int (*__lttng_ust_plibc_dlclose)(void *handle);
 
-static
-void _lttng_ust_dl_init(void)
-       __attribute__((constructor));
-static
-void _lttng_ust_dl_init(void)
-{
-       ust_err_init();
-}
-
 static
 void *_lttng_ust_dl_libc_dlopen(const char *filename, int flags)
 {
This page took 0.030209 seconds and 4 git commands to generate.