mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-02-07 04:22:15 +08:00
Add file header on missing .c and *h files to display brief in documentation. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
33 lines
451 B
C
33 lines
451 B
C
/*
|
|
* Copyright (c) 2015, Xilinx Inc. and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/**
|
|
* @file version.c
|
|
* @brief Libmetal version information definition.
|
|
*/
|
|
|
|
#include <metal/config.h>
|
|
|
|
int metal_ver_major(void)
|
|
{
|
|
return METAL_VER_MAJOR;
|
|
}
|
|
|
|
int metal_ver_minor(void)
|
|
{
|
|
return METAL_VER_MINOR;
|
|
}
|
|
|
|
int metal_ver_patch(void)
|
|
{
|
|
return METAL_VER_PATCH;
|
|
}
|
|
|
|
const char *metal_ver(void)
|
|
{
|
|
return METAL_VER;
|
|
}
|