tests: add declaration for test_function in userspace-probe-elf-binary.c
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / userspace-probe-elf-binary.c
index 76f44027fadbd10a68a243b1877e9f3fe49e38df..8488c8a3940ffb9770ca94cba79f553db6d22c9d 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#include "foo.h"
 volatile int not_a_function = 0;
-void __attribute__ ((noinline))  test_function()
+
+void __attribute__ ((noinline)) test_function();
+void __attribute__ ((noinline)) test_function()
 {
        not_a_function += 1;
 }
+
 int main(int argc, char *argv[])
 {
        test_function();
+       dynamic_symbol(42);
        return 0;
 }
This page took 0.024848 seconds and 5 git commands to generate.