X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fport-input-const.h;h=c3eff668e49a333911e20d8733abf934ad178c1e;hb=d29378b187afb5aa5ef1086cf8d96562e3681c32;hp=781b9d59ee5ccc5ddceacf7c1ea69315d8f544dd;hpb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;p=babeltrace.git diff --git a/include/babeltrace2/graph/port-input-const.h b/include/babeltrace2/graph/port-input-const.h index 781b9d59..c3eff668 100644 --- a/include/babeltrace2/graph/port-input-const.h +++ b/include/babeltrace2/graph/port-input-const.h @@ -1,9 +1,8 @@ -#ifndef BABELTRACE_GRAPH_PORT_INPUT_CONST_H -#define BABELTRACE_GRAPH_PORT_INPUT_CONST_H +#ifndef BABELTRACE2_GRAPH_PORT_INPUT_CONST_H +#define BABELTRACE2_GRAPH_PORT_INPUT_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,11 +23,14 @@ * SOFTWARE. */ -/* For bt_port, bt_port_input, __BT_UPCAST_CONST */ -#include +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif #include +#include + #ifdef __cplusplus extern "C" { #endif @@ -60,4 +62,4 @@ extern void bt_port_input_put_ref(const bt_port_input *port_input); } #endif -#endif /* BABELTRACE_GRAPH_PORT_INPUT_CONST_H */ +#endif /* BABELTRACE2_GRAPH_PORT_INPUT_CONST_H */