Remove unnecessary inclusions of "internal public" headers
[babeltrace.git] / src / ctf-writer / resolve.c
index 2ceaba3390ed9eb26652a73eafa51a89bb5d3d50..1cd244899a49713df748df91e65bb6f0db5f4f47 100644 (file)
@@ -18,7 +18,6 @@
 #include <babeltrace2-ctf-writer/field-types.h>
 #include <babeltrace2-ctf-writer/object.h>
 #include <babeltrace2-ctf-writer/stream-class.h>
-#include <babeltrace2/types.h>
 
 #include "common/macros.h"
 #include "common/assert.h"
@@ -278,7 +277,8 @@ end:
  * Destroys a path token.
  */
 static
-void ptokens_destroy_func(gpointer ptoken, gpointer data)
+void ptokens_destroy_func(gpointer ptoken,
+               gpointer data __attribute__((unused)))
 {
        g_string_free(ptoken, TRUE);
 }
This page took 0.022657 seconds and 4 git commands to generate.