X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcontext.h;h=f4abd841726d41b1ad48fcf52d8eea9ec6b6d1f9;hb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;hp=8791b71d1a46c94d8b0c91976be5abec5e58fd80;hpb=b12ed34b0005becf4b7e4e1102b49f5f510630c1;p=lttng-tools.git diff --git a/src/common/context.h b/src/common/context.h index 8791b71d1..f4abd8417 100644 --- a/src/common/context.h +++ b/src/common/context.h @@ -1,18 +1,8 @@ /* - * Copyright 2016 - Jérémie Galarneau + * Copyright 2016 Jérémie Galarneau * - * 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 LTTNG_COMMON_CONTEXT_H @@ -31,7 +21,6 @@ * Returns 0 if the string is a valid application context, else a negative * value on error. */ -LTTNG_HIDDEN int parse_application_context(const char *str, char **provider_name, char **ctx_name);