X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fmessage-iterator.h;h=ebdc2e68563e75c24c8d9dc239472744926eb696;hb=bbb7b5f044dc06e50eaa34ed3a880b34e1e7ebb8;hp=d3b91e382188d98075aef47303544726627ce6f1;hpb=d24d56638469189904fb6ddbb3c725817b3e9417;p=babeltrace.git diff --git a/include/babeltrace2/graph/message-iterator.h b/include/babeltrace2/graph/message-iterator.h index d3b91e38..ebdc2e68 100644 --- a/include/babeltrace2/graph/message-iterator.h +++ b/include/babeltrace2/graph/message-iterator.h @@ -1,9 +1,8 @@ -#ifndef BABELTRACE_GRAPH_MESSAGE_ITERATOR_H -#define BABELTRACE_GRAPH_MESSAGE_ITERATOR_H +#ifndef BABELTRACE2_GRAPH_MESSAGE_ITERATOR_H +#define BABELTRACE2_GRAPH_MESSAGE_ITERATOR_H /* - * Copyright 2017-2018 Philippe Proulx - * Copyright 2015 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,10 +23,9 @@ * SOFTWARE. */ -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif #ifdef __cplusplus extern "C" { @@ -61,6 +59,4 @@ typedef enum bt_message_iterator_seek_ns_from_origin_status { } #endif -#include - -#endif /* BABELTRACE_GRAPH_MESSAGE_ITERATOR_H */ +#endif /* BABELTRACE2_GRAPH_MESSAGE_ITERATOR_H */