1 // SPDX-License-Identifier: MIT
3 * Copyright (C) 2017 The Android Open Source Project
6 #include "avb_version.h"
8 #define AVB_QUOTE(str) #str
9 #define AVB_EXPAND_AND_QUOTE(str) AVB_QUOTE(str)
11 /* Keep in sync with get_release_string() in avbtool. */
12 const char* avb_version_string(void) {
13 return AVB_EXPAND_AND_QUOTE(AVB_VERSION_MAJOR) "." AVB_EXPAND_AND_QUOTE(
14 AVB_VERSION_MINOR) "." AVB_EXPAND_AND_QUOTE(AVB_VERSION_SUB);