X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.hpp;fp=src%2Fbin%2Flttng-sessiond%2Fsession.hpp;h=7673fe10c3952f20c9f53188625fe1510e740ede;hp=12ac3eb73f78e39afc3a982df278b869a88bc081;hb=e665dfbce25215d5ec77ff03a279c7163b337db1;hpb=28ab034a2c3582d07d3423d2d746731f87d3969f diff --git a/src/bin/lttng-sessiond/session.hpp b/src/bin/lttng-sessiond/session.hpp index 12ac3eb73..7673fe10c 100644 --- a/src/bin/lttng-sessiond/session.hpp +++ b/src/bin/lttng-sessiond/session.hpp @@ -28,10 +28,8 @@ struct ltt_ust_session; -typedef void (*ltt_session_destroy_notifier)(const struct ltt_session *session, - void *user_data); -typedef void (*ltt_session_clear_notifier)(const struct ltt_session *session, - void *user_data); +using ltt_session_destroy_notifier = void (*)(const struct ltt_session *, void *); +using ltt_session_clear_notifier = void (*)(const struct ltt_session *, void *); namespace lttng { namespace sessiond {