Clean-up: sessiond: cmd_enable_channel_internal
[lttng-tools.git] / src / bin / lttng-sessiond / event-notifier-error-accounting.h
index d42fff650d8cd5aeaeb7582b65e18910b6c4eaf0..440b9d0919271e288a448dfb533892947201055e 100644 (file)
@@ -21,6 +21,7 @@ enum event_notifier_error_accounting_status {
        EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_NOMEM,
        EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_NO_INDEX_AVAILABLE,
        EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_APP_DEAD,
+       EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_UNSUPPORTED,
 };
 
 /*
@@ -55,17 +56,21 @@ event_notifier_error_accounting_register_app(struct ust_app *app);
  */
 enum event_notifier_error_accounting_status
 event_notifier_error_accounting_unregister_app(struct ust_app *app);
+
 #else /* HAVE_LIBLTTNG_UST_CTL */
+
 static inline
 enum event_notifier_error_accounting_status
-event_notifier_error_accounting_register_app(struct ust_app *app)
+event_notifier_error_accounting_register_app(
+               struct ust_app *app __attribute__((unused)))
 {
        return EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_OK;
 }
 
 static inline
 enum event_notifier_error_accounting_status
-event_notifier_error_accounting_unregister_app(struct ust_app *app)
+event_notifier_error_accounting_unregister_app(
+               struct ust_app *app __attribute__((unused)))
 {
        return EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_OK;
 }
This page took 0.024624 seconds and 4 git commands to generate.