X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fgraph-const.h;h=168ed2b25c5a8bed26e90487935d76e72263cc70;hb=1cda4ff4025e4b3f7bd2a861baa51d2113c4cbf9;hp=34abb3b5f4057eed2a7199cba5b7e8c0fb042fda;hpb=d24d56638469189904fb6ddbb3c725817b3e9417;p=babeltrace.git diff --git a/include/babeltrace2/graph/graph-const.h b/include/babeltrace2/graph/graph-const.h index 34abb3b5..168ed2b2 100644 --- a/include/babeltrace2/graph/graph-const.h +++ b/include/babeltrace2/graph/graph-const.h @@ -1,9 +1,8 @@ -#ifndef BABELTRACE_GRAPH_GRAPH_CONST_H -#define BABELTRACE_GRAPH_GRAPH_CONST_H +#ifndef BABELTRACE2_GRAPH_GRAPH_CONST_H +#define BABELTRACE2_GRAPH_GRAPH_CONST_H /* - * Copyright 2017-2018 Philippe Proulx - * Copyright 2017 Jérémie Galarneau + * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -24,15 +23,16 @@ * SOFTWARE. */ -/* For bt_bool, bt_graph */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #ifdef __cplusplus extern "C" { #endif -extern bt_bool bt_graph_is_canceled(const bt_graph *graph); - extern void bt_graph_get_ref(const bt_graph *graph); extern void bt_graph_put_ref(const bt_graph *graph); @@ -54,4 +54,4 @@ extern void bt_graph_put_ref(const bt_graph *graph); } #endif -#endif /* BABELTRACE_GRAPH_GRAPH_CONST_H */ +#endif /* BABELTRACE2_GRAPH_GRAPH_CONST_H */