X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-version.h.in;h=f7e90778d578475ab5c6d5d37290136692c8a1b0;hb=1c1968450409b3c159a3000f9e1a968ff1e5f7e8;hp=ae33a766644f98f54744ac9233bff0aeebc95bd3;hpb=d2428e875af8666473fb689429eaf1022862510d;p=lttng-ust.git diff --git a/include/lttng/ust-version.h.in b/include/lttng/ust-version.h.in index ae33a766..f7e90778 100644 --- a/include/lttng/ust-version.h.in +++ b/include/lttng/ust-version.h.in @@ -1,33 +1,21 @@ -#ifndef _LTTNG_UST_VERSION_H -#define _LTTNG_UST_VERSION_H +// SPDX-FileCopyrightText: 2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT /* - * lttng/ust-version.h.in. Contains the LTTng-UST versions - * - * Copyright (c) 2011 - Mathieu Desnoyers - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Contains the LTTng-UST versions. */ -#define LTTNG_UST_MAJOR_VERSION @MAJOR_VERSION@ -#define LTTNG_UST_MINOR_VERSION @MINOR_VERSION@ -#define LTTNG_UST_PATCHLEVEL_VERSION @PATCHLEVEL_VERSION@ -#define LTTNG_UST_VERSION @PACKAGE_VERSION@ +#ifndef _LTTNG_UST_VERSION_H +#define _LTTNG_UST_VERSION_H + +#undef LTTNG_UST_MAJOR_VERSION +#undef LTTNG_UST_MINOR_VERSION +#undef LTTNG_UST_PATCHLEVEL_VERSION + +#undef LTTNG_UST_VERSION + +#undef LTTNG_UST_LIB_SONAME_MAJOR +#undef LTTNG_UST_CTL_LIB_SONAME_MAJOR #endif /* _LTTNG_UST_VERSION_H */