X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Futil.h;h=0650d60359d02fdfff1dab1b44f2da2e28d30064;hb=2c1d3e9111d8f1b55361b9b880350c2680c90093;hp=f251eda909c20cf3c906fa1f3accaf7f4e6b2548;hpb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;p=babeltrace.git diff --git a/include/babeltrace2/util.h b/include/babeltrace2/util.h index f251eda9..0650d603 100644 --- a/include/babeltrace2/util.h +++ b/include/babeltrace2/util.h @@ -1,8 +1,8 @@ -#ifndef BABELTRACE_UTIL_H -#define BABELTRACE_UTIL_H +#ifndef BABELTRACE2_UTIL_H +#define BABELTRACE2_UTIL_H /* - * Copyright (c) 2015-2018 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 #ifdef __cplusplus @@ -42,4 +46,4 @@ bt_util_status bt_util_clock_cycles_to_ns_from_origin(uint64_t cycles, } #endif -#endif /* BABELTRACE_UTIL_H */ +#endif /* BABELTRACE2_UTIL_H */