X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-elf-binary%2Ffoo.h;h=fb1f19de39a498c6ab38a89e9bed2f65b2421714;hb=HEAD;hp=e3f85aba367ea96cbf344a6e0d930d2f8d898423;hpb=ef3dfe5d31c88fb548189a6441aaf8b2afc0bd4b;p=lttng-tools.git diff --git a/tests/utils/testapp/userspace-probe-elf-binary/foo.h b/tests/utils/testapp/userspace-probe-elf-binary/foo.h index e3f85aba3..fb1f19de3 100644 --- a/tests/utils/testapp/userspace-probe-elf-binary/foo.h +++ b/tests/utils/testapp/userspace-probe-elf-binary/foo.h @@ -1,19 +1,10 @@ /* - * Copyright (C) 2018 Francis Deslauriers + * Copyright (C) 2018 Francis Deslauriers * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * SPDX-License-Identifier: LGPL-2.1-or-later * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -int dynamic_symbol(int a); +#include + +LTTNG_EXPORT int dynamic_symbol(int a);