X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fversion.h;h=1a15af439fb8f304ff1c5ffe39f2bcb506cd060a;hb=1b8d11c43088ea896149ea047a73155bfd96b73c;hp=7fed407a92c6a27b0a57efc21897e3c03a2e06df;hpb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;p=babeltrace.git diff --git a/include/babeltrace2/version.h b/include/babeltrace2/version.h index 7fed407a..1a15af43 100644 --- a/include/babeltrace2/version.h +++ b/include/babeltrace2/version.h @@ -1,8 +1,8 @@ -#ifndef BABELTRACE_VERSION_H -#define BABELTRACE_VERSION_H +#ifndef BABELTRACE2_VERSION_H +#define BABELTRACE2_VERSION_H /* - * Copyright 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,17 +23,21 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #ifdef __cplusplus extern "C" { #endif -extern int bt_version_get_major(void); -extern int bt_version_get_minor(void); -extern int bt_version_get_patch(void); +extern unsigned int bt_version_get_major(void); +extern unsigned int bt_version_get_minor(void); +extern unsigned int bt_version_get_patch(void); extern const char *bt_version_get_extra(void); #ifdef __cplusplus } #endif -#endif /* BABELTRACE_VERSION_H */ +#endif /* BABELTRACE2_VERSION_H */