Build fix: consumer: unused-but-set-variable warning
[lttng-tools.git] / src / common / consumer / consumer-timer.hpp
index 3445ed57fd1fd2399824912e36ee135a88c26695..656ebe036268ee868b82564ef30afa53629b95e0 100644 (file)
 
 #include "consumer.hpp"
 
-#define LTTNG_CONSUMER_SIG_SWITCH      SIGRTMIN + 10
-#define LTTNG_CONSUMER_SIG_TEARDOWN    SIGRTMIN + 11
-#define LTTNG_CONSUMER_SIG_LIVE                SIGRTMIN + 12
-#define LTTNG_CONSUMER_SIG_MONITOR     SIGRTMIN + 13
-#define LTTNG_CONSUMER_SIG_EXIT                SIGRTMIN + 14
+#define LTTNG_CONSUMER_SIG_SWITCH      ((SIGRTMIN + 10))
+#define LTTNG_CONSUMER_SIG_TEARDOWN    ((SIGRTMIN + 11))
+#define LTTNG_CONSUMER_SIG_LIVE                ((SIGRTMIN + 12))
+#define LTTNG_CONSUMER_SIG_MONITOR     ((SIGRTMIN + 13))
+#define LTTNG_CONSUMER_SIG_EXIT                ((SIGRTMIN + 14))
 
 #define CLOCKID CLOCK_MONOTONIC
 
@@ -45,12 +45,12 @@ int consumer_timer_monitor_start(struct lttng_consumer_channel *channel,
                unsigned int monitor_timer_interval_us);
 int consumer_timer_monitor_stop(struct lttng_consumer_channel *channel);
 void *consumer_timer_thread(void *data);
-int consumer_signal_init(void);
+int consumer_signal_init();
 
 int consumer_flush_kernel_index(struct lttng_consumer_stream *stream);
 int consumer_flush_ust_index(struct lttng_consumer_stream *stream);
 
-int consumer_timer_thread_get_channel_monitor_pipe(void);
+int consumer_timer_thread_get_channel_monitor_pipe();
 int consumer_timer_thread_set_channel_monitor_pipe(int fd);
 
 #endif /* CONSUMER_TIMER_H */
This page took 0.02337 seconds and 4 git commands to generate.