Merge "fix(uuid): add missing #include directives" into integration

This commit is contained in:
Manish Pandey 2023-04-21 14:24:12 +02:00 committed by TrustedFirmware Code Review
commit edee0430d4
4 changed files with 11 additions and 5 deletions

View file

@ -1190,6 +1190,9 @@ subsections:
deprecated:
- plat/nxp/common/psci
- title: UUID
scope: uuid
- title: Documentation
scope: docs
@ -1278,4 +1281,3 @@ subsections:
- title: zlib
scope: zlib

View file

@ -1,12 +1,11 @@
/*
* Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved.
* Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <common/debug.h>

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved.
* Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -7,6 +7,9 @@
#ifndef UUID_COMMON_H
#define UUID_COMMON_H
#include <stdbool.h>
#include <stdint.h>
#define UUID_BYTES_LENGTH 16
#define UUID_STRING_LENGTH 36

View file

@ -27,13 +27,15 @@
*/
/*
* Portions copyright (c) 2014-2020, ARM Limited and Contributors.
* Portions copyright (c) 2014-2023, Arm Limited and Contributors.
* All rights reserved.
*/
#ifndef UUID_H
#define UUID_H
#include <stdint.h>
/* Length of a node address (an IEEE 802 address). */
#define _UUID_NODE_LEN 6