X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent-notifier-error-accounting.h;h=440b9d0919271e288a448dfb533892947201055e;hb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;hp=319a488ae7e1412deb3d33b8ebc1c261dce8f033;hpb=783db3166036b959e842c9238eb67d338823ab40;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/event-notifier-error-accounting.h b/src/bin/lttng-sessiond/event-notifier-error-accounting.h index 319a488ae..440b9d091 100644 --- a/src/bin/lttng-sessiond/event-notifier-error-accounting.h +++ b/src/bin/lttng-sessiond/event-notifier-error-accounting.h @@ -56,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; }