X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ferror-const.h;h=8f09b4b78152eb2687ef4c18f7293bcc4d5e9589;hb=1cda4ff4025e4b3f7bd2a861baa51d2113c4cbf9;hp=0aaddb51c6c972ee9fbed9bc432b07545bce8211;hpb=553c4bab3cad8ad569c14a01b39a66a2d8bcde7c;p=babeltrace.git diff --git a/include/babeltrace2/error-const.h b/include/babeltrace2/error-const.h index 0aaddb51..8f09b4b7 100644 --- a/include/babeltrace2/error-const.h +++ b/include/babeltrace2/error-const.h @@ -1,8 +1,8 @@ -#ifndef BABELTRACE_ERROR_CONST_H -#define BABELTRACE_ERROR_CONST_H +#ifndef BABELTRACE2_ERROR_CONST_H +#define BABELTRACE2_ERROR_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,10 +23,13 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #include -/* For bt_error, bt_error_cause */ #include #ifdef __cplusplus @@ -47,4 +50,4 @@ void bt_error_release(const bt_error *error); } #endif -#endif /* BABELTRACE_ERROR_CONST_H */ +#endif /* BABELTRACE2_ERROR_CONST_H */