Move to kernel style SPDX license identifiers
[lttng-tools.git] / src / common / context.h
index 5552f4da5736c400c661142a2cc8f8fe285b10b9..036f2004dec13742dfbc194576bfbb5e9a69f402 100644 (file)
@@ -1,23 +1,15 @@
 /*
- * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * 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
 #define LTTNG_COMMON_CONTEXT_H
 
+#include <common/macros.h>
+
 /*
  * Parse string as an application context of the form
  * "$app.provider_name:context_name" and return the provider name and context
@@ -29,6 +21,7 @@
  * 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);
 
This page took 0.024639 seconds and 5 git commands to generate.