[edk2-devel] [PATCH 1/1] BaseTools: remove useless header inclusion

tlaronde at polynum.com tlaronde at polynum.com
Thu Jan 26 10:03:18 UTC 2023


GenFvInternalLib.c: useless inclusion and dependency on uuid.h.

>From 6c0ba96fa11390750e102ebd277f59ef38970394 Mon Sep 17 00:00:00 2001
From: Thierry LARONDE <tlaronde at polynum.com>
Date: Thu, 26 Jan 2023 10:49:12 +0100
Subject: [PATCH] Remove useless uuid.h include.

Signed-off-by: Thierry LARONDE <tlaronde at polynum.com>
---
 BaseTools/Source/C/GenFv/GenFvInternalLib.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/BaseTools/Source/C/GenFv/GenFvInternalLib.c b/BaseTools/Source/C/GenFv/GenFvInternalLib.c
index 6bd59515b1..2df7182f8b 100644
--- a/BaseTools/Source/C/GenFv/GenFvInternalLib.c
+++ b/BaseTools/Source/C/GenFv/GenFvInternalLib.c
@@ -14,11 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 // Include files
 //
 
-#if defined(__FreeBSD__)
-#include <uuid.h>
-#elif defined(__GNUC__)
-#include <uuid/uuid.h>
-#endif
 #ifdef __GNUC__
 #include <sys/stat.h>
 #endif
-- 
2.39.0

-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#99070): https://edk2.groups.io/g/devel/message/99070
Mute This Topic: https://groups.io/mt/96540457/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list