Build fix: Missing message in LTTNG_DEPRECATED invocation
[lttng-tools.git] / src / common / filter.c
index dc1cdb0f1e25c9cd4b2ca123fd07293d286fca19..9195808ee75be083b5d5e386fa2febf564d0a135 100644 (file)
@@ -1,22 +1,8 @@
 /*
- * filter.c
+ * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * LTTng filter bytecode utilities.
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
- * Copyright 2016 - Jérémie Galarneau <jeremie.galarneau@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.
- *
- * 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
  */
 
 #include "filter.h"
@@ -28,9 +14,8 @@ struct bytecode_symbol_iterator {
        size_t offset, len;
 };
 
-LTTNG_HIDDEN
 struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(
-               struct lttng_filter_bytecode *bytecode)
+               struct lttng_bytecode *bytecode)
 {
        struct bytecode_symbol_iterator *it = NULL;
 
@@ -50,7 +35,6 @@ end:
        return it;
 }
 
-LTTNG_HIDDEN
 int bytecode_symbol_iterator_next(struct bytecode_symbol_iterator *it)
 {
        int ret;
@@ -68,7 +52,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator *it)
 {
        int ret;
@@ -83,7 +66,6 @@ end:
        return ret;
  }
 
-LTTNG_HIDDEN
 const char *bytecode_symbol_iterator_get_name(
                struct bytecode_symbol_iterator *it)
 {
@@ -98,7 +80,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 void bytecode_symbol_iterator_destroy(struct bytecode_symbol_iterator *it)
 {
        free(it);
This page took 0.023442 seconds and 4 git commands to generate.