Clean-up: consumer: consumer_metadata_cache_write is not const-correct
[lttng-tools.git] / src / lib / lttng-ctl / filter / filter-ast.h
index c5c73b69e8b9ee18281e33bd1f47ccf05d2dfe95..926d8dd644a94004ccef75ce35028d290901666c 100644 (file)
@@ -6,20 +6,10 @@
  *
  * LTTng filter AST
  *
- * Copyright 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * Copyright 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License, version 2.1 only,
- * as published by the Free Software Foundation.
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
- * 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
  */
 
 /*
@@ -125,10 +115,10 @@ struct filter_node {
                        enum ast_link_type post_op;     /* reverse */
                        enum ast_link_type pre_op;      /* forward */
                        union {
-                               char *string;
+                               const char *string;
                                uint64_t constant;
                                double float_constant;
-                               char *identifier;
+                               const char *identifier;
                                /*
                                 * child can be nested.
                                 */
This page took 0.023367 seconds and 4 git commands to generate.