cleanup: explicitly mark unused parameters (-Wunused-parameter)
[lttng-ust.git] / liblttng-ust / lttng-events.c
index 140e5caeea00cb27f5ddfc9df055ba5fc171ad50..16fb9f44634a8d8be330cbe58f23003f90d9836e 100644 (file)
 #include "wait.h"
 #include "../libringbuffer/shm.h"
 #include "../libringbuffer/frontend_types.h"
+#include "../libringbuffer/frontend.h"
 #include "../libcounter/counter.h"
 #include "jhash.h"
 #include <lttng/ust-abi.h>
+#include "context-provider-internal.h"
 
 /*
  * All operations within this file are called by the communication
@@ -801,7 +803,7 @@ int lttng_event_recorder_create(struct lttng_ust_event_desc *desc,
                desc->nr_fields,
                desc->fields,
                uri,
-               &event_recorder->id);
+               &event_recorder->priv->id);
        if (ret < 0) {
                DBG("Error (%d) registering event to sessiond", ret);
                goto sessiond_register_error;
@@ -1652,8 +1654,9 @@ int lttng_attach_context(struct lttng_ust_abi_context *context_param,
        }
 }
 
-int lttng_event_enabler_attach_context(struct lttng_event_enabler *enabler,
-               struct lttng_ust_abi_context *context_param)
+int lttng_event_enabler_attach_context(
+               struct lttng_event_enabler *enabler __attribute__((unused)),
+               struct lttng_ust_abi_context *context_param __attribute__((unused)))
 {
        return -ENOSYS;
 }
This page took 0.024722 seconds and 4 git commands to generate.