summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.yaml4
-rw-r--r--common/uuid.c3
-rw-r--r--include/common/uuid.h5
-rw-r--r--include/tools_share/uuid.h4
4 files changed, 11 insertions, 5 deletions
diff --git a/changelog.yaml b/changelog.yaml
index a514abd80..7dcb4dfda 100644
--- a/changelog.yaml
+++ b/changelog.yaml
@@ -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
-
diff --git a/common/uuid.c b/common/uuid.c
index 3e47eb4ba..969eda147 100644
--- a/common/uuid.c
+++ b/common/uuid.c
@@ -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>
diff --git a/include/common/uuid.h b/include/common/uuid.h
index c8dd68197..634880449 100644
--- a/include/common/uuid.h
+++ b/include/common/uuid.h
@@ -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
diff --git a/include/tools_share/uuid.h b/include/tools_share/uuid.h
index 2ced3a3fa..3445f2026 100644
--- a/include/tools_share/uuid.h
+++ b/include/tools_share/uuid.h
@@ -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