From: Simon Marchi Date: Mon, 25 Nov 2019 21:28:16 +0000 (-0500) Subject: Add declarations for exported functions in consumer_testpoints.c X-Git-Tag: v2.13.0-rc1~742 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8abfcbd1d03b2fbfc9ad2a450616898d6d30c494;p=lttng-tools.git Add declarations for exported functions in consumer_testpoints.c Silences some -Wmissing-declarations warnings. Signed-off-by: Simon Marchi Change-Id: Icb6b79ea5ad4a076a6ae03c61b9f0691d45f3c1c Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/notification/consumer_testpoints.c b/tests/regression/tools/notification/consumer_testpoints.c index c43721606..0d1edc5f9 100644 --- a/tests/regression/tools/notification/consumer_testpoints.c +++ b/tests/regression/tools/notification/consumer_testpoints.c @@ -47,6 +47,7 @@ void __attribute__((destructor)) pause_pipe_fini(void) * thread to create a named pipe/FIFO which a test application can use to either * pause or resume the consumption of data. */ +int __testpoint_consumerd_thread_data(void); int __testpoint_consumerd_thread_data(void) { int ret = 0; @@ -106,6 +107,7 @@ end: return ret; } +int __testpoint_consumerd_thread_data_poll(void); int __testpoint_consumerd_thread_data_poll(void) { int ret = 0;