X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fcomponent-filter.h;h=1c43d0c5c2abcb38c5272613de29736aa69e82cf;hb=1353b066072e6c389ff35853bac83f65597e7a6a;hp=7d5a792e45a9d5a1732100b615acb8a5c360c97e;hpb=578e048b5debf169e286e5b5cc747b5d6c16886d;p=babeltrace.git diff --git a/src/lib/graph/component-filter.h b/src/lib/graph/component-filter.h index 7d5a792e..1c43d0c5 100644 --- a/src/lib/graph/component-filter.h +++ b/src/lib/graph/component-filter.h @@ -1,31 +1,15 @@ -#ifndef BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H -#define BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H - /* + * SPDX-License-Identifier: MIT + * * Copyright 2017-2018 Philippe Proulx * Copyright 2016 Jérémie Galarneau - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. */ -#include "common/babeltrace.h" -#include +#ifndef BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H +#define BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H + +#include "common/macros.h" +#include #include "component-class.h" #include "component.h" @@ -34,11 +18,9 @@ struct bt_component_filter { struct bt_component parent; }; -BT_HIDDEN struct bt_component *bt_component_filter_create( const struct bt_component_class *class); -BT_HIDDEN void bt_component_filter_destroy(struct bt_component *component); #endif /* BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H */