Fix: pass private data to context callbacks
[lttng-ust.git] / liblttng-ust / lttng-ust-elf.c
index fc4029c93c78377d2cb37dd80eea047d7d56eb59..3e0b8890559bd968c45d523fd643c35005f01b99 100644 (file)
@@ -6,9 +6,6 @@
 
 #define _LGPL_SOURCE
 #include <fcntl.h>
-#include <ust-helper.h>
-#include <lttng/align.h>
-#include <lttng/ust-elf.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <string.h>
@@ -16,6 +13,9 @@
 #include <sys/types.h>
 #include <unistd.h>
 
+#include <lttng/ust-utils.h>
+
+#include <ust-elf.h>
 #include <ust-fd.h>
 
 #include "lttng-tracer-core.h"
@@ -580,6 +580,7 @@ error:
  *
  * Returns 0 on success, -1 if an error occurred.
  */
+static
 int lttng_ust_elf_get_debug_link_from_section(struct lttng_ust_elf *elf,
                                        char **filename, uint32_t *crc,
                                        struct lttng_ust_elf_shdr *shdr)
This page took 0.022593 seconds and 4 git commands to generate.