projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for '-Wunused-parameter'
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
event-notifier-error-accounting.h
diff --git
a/src/bin/lttng-sessiond/event-notifier-error-accounting.h
b/src/bin/lttng-sessiond/event-notifier-error-accounting.h
index 319a488ae7e1412deb3d33b8ebc1c261dce8f033..440b9d0919271e288a448dfb533892947201055e 100644
(file)
--- 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);
*/
enum event_notifier_error_accounting_status
event_notifier_error_accounting_unregister_app(struct ust_app *app);
+
#else /* HAVE_LIBLTTNG_UST_CTL */
#else /* HAVE_LIBLTTNG_UST_CTL */
+
static inline
enum event_notifier_error_accounting_status
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
{
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;
}
{
return EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_OK;
}
This page took
0.023719 seconds
and
4
git commands to generate.