X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Flogging.h;h=ae03d8d1c225d6c47c1ef9d5d67e9695097b7dcb;hb=9b4f9b425f2efce9a6ccc25f7ae062ebc1116a7d;hp=172f123171a8edd13f953d5cbb4879679300b31b;hpb=770538dd64bcd8f258cb059c438f845533900a27;p=babeltrace.git diff --git a/include/babeltrace2/logging.h b/include/babeltrace2/logging.h index 172f1231..ae03d8d1 100644 --- a/include/babeltrace2/logging.h +++ b/include/babeltrace2/logging.h @@ -1,8 +1,8 @@ -#ifndef BABELTRACE_LOGGING_H -#define BABELTRACE_LOGGING_H +#ifndef BABELTRACE2_LOGGING_H +#define BABELTRACE2_LOGGING_H /* - * Copyright (c) 2017 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,6 +23,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #include #include @@ -146,4 +150,4 @@ extern void bt_logging_set_global_level(bt_logging_level log_level); } #endif -#endif /* BABELTRACE_LOGGING_H */ +#endif /* BABELTRACE2_LOGGING_H */