X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.hpp;h=a470a088166ca2d39a3b800f024576ed2aa7228b;hb=HEAD;hp=9ae371a3157644f7c5ae9e8fcb99f55c2398c90e;hpb=49cddecdbb1e042877ca3855b177ade68151030f;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/cmd.hpp b/src/bin/lttng-sessiond/cmd.hpp index 9ae371a31..a470a0881 100644 --- a/src/bin/lttng-sessiond/cmd.hpp +++ b/src/bin/lttng-sessiond/cmd.hpp @@ -14,6 +14,7 @@ #include "session.hpp" #include + #include struct notification_thread_handle; @@ -37,7 +38,7 @@ struct cmd_completion_handler { * Init the command subsystem. Must be called before using any of the functions * above. This is called in the main() of the session daemon. */ -void cmd_init(void); +void cmd_init(); /* Session commands */ enum lttng_error_code cmd_create_session(struct command_ctx *cmd_ctx, @@ -182,7 +183,7 @@ int cmd_rotation_set_schedule(struct ltt_session *session, enum lttng_rotation_schedule_type schedule_type, uint64_t value); -const struct cmd_completion_handler *cmd_pop_completion_handler(void); +const struct cmd_completion_handler *cmd_pop_completion_handler(); int start_kernel_session(struct ltt_kernel_session *ksess); int stop_kernel_session(struct ltt_kernel_session *ksess);