X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ftestpoint%2Ftestpoint.c;h=c70245894e347dc27f9a9b20128d655db4f663f4;hp=6893a4112c55ce302a9b4436a1f00c958f84599c;hb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;hpb=6242251b39f531a2485b758edcb455e220267fdd diff --git a/src/common/testpoint/testpoint.c b/src/common/testpoint/testpoint.c index 6893a4112..c70245894 100644 --- a/src/common/testpoint/testpoint.c +++ b/src/common/testpoint/testpoint.c @@ -1,23 +1,13 @@ /* - * Copyright (C) 2012 - Christian Babeux + * Copyright (C) 2012 Christian Babeux * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program 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 General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef NTESTPOINT -#define _GNU_SOURCE /* for RTLD_DEFAULT GNU extension */ +#define _LGPL_SOURCE #include /* for dlsym */ #include /* for getenv */ #include /* for strncmp */