Fix: tests: add `void` parameter to functions that take no parameters
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / userspace-probe-elf-binary.c
... / ...
CommitLineData
1/*
2 * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 */
7
8#include "foo.h"
9volatile int not_a_function = 0;
10
11void __attribute__ ((noinline)) test_function(void);
12void __attribute__ ((noinline)) test_function(void)
13{
14 not_a_function += 1;
15}
16
17int main(int argc, char *argv[])
18{
19 test_function();
20 dynamic_symbol(42);
21 return 0;
22}
This page took 0.022797 seconds and 4 git commands to generate.