#include <lttng/trigger/trigger-internal.hpp>
#include <lttng/rotate-internal.hpp>
#include <common/compat/socket.hpp>
+#include <common/compiler.hpp>
#include <common/uri.hpp>
#include <common/defaults.hpp>
#include <common/uuid.hpp>
struct lttng_event_exclusion {
uint32_t count;
char padding[LTTNG_EVENT_EXCLUSION_PADDING];
- char names[][LTTNG_SYMBOL_NAME_LEN];
+ char names[LTTNG_FLEXIBLE_ARRAY_MEMBER_LENGTH][LTTNG_SYMBOL_NAME_LEN];
} LTTNG_PACKED;
#define LTTNG_EVENT_EXCLUSION_NAME_AT(_exclusion, _i) \
*/
int lttcomm_sock_set_port(struct lttcomm_sock *sock, uint16_t port);
-void lttcomm_init(void);
+void lttcomm_init();
/* Get network timeout, in milliseconds */
-unsigned long lttcomm_get_network_timeout(void);
+unsigned long lttcomm_get_network_timeout();
#endif /* _LTTNG_SESSIOND_COMM_H */