X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ferror-cause-const.h;h=df021cc7bb355f596cb3f02f6583ba98cdfea12e;hb=76b6c2f71a485f0cc9b766e1a54b9f7330ccd907;hp=472d53793f034164ae4b58b5eeb5dff9f25fae10;hpb=553c4bab3cad8ad569c14a01b39a66a2d8bcde7c;p=babeltrace.git diff --git a/include/babeltrace2/error-cause-const.h b/include/babeltrace2/error-cause-const.h index 472d5379..df021cc7 100644 --- a/include/babeltrace2/error-cause-const.h +++ b/include/babeltrace2/error-cause-const.h @@ -1,8 +1,8 @@ -#ifndef BABELTRACE_ERROR_CAUSE_CONST_H -#define BABELTRACE_ERROR_CAUSE_CONST_H +#ifndef BABELTRACE2_ERROR_CAUSE_CONST_H +#define BABELTRACE2_ERROR_CAUSE_CONST_H /* - * Copyright (c) 2019 Philippe Proulx + * 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 @@ -23,13 +23,14 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #include -/* For bt_error, bt_error_cause */ #include - -/* For bt_component_class_type */ #include #ifdef __cplusplus @@ -113,4 +114,4 @@ const char *bt_error_cause_message_iterator_actor_get_plugin_name( } #endif -#endif /* BABELTRACE_ERROR_CAUSE_CONST_H */ +#endif /* BABELTRACE2_ERROR_CAUSE_CONST_H */