public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH] RedfishPkg/RedfishCrtLib: multiple definitions of strncpy.
@ 2023-07-22  8:18 Nickle Wang via groups.io
  2023-07-22 12:27 ` Mike Maslenkin
  2023-07-24  1:15 ` Igor Kulchytskyy via groups.io
  0 siblings, 2 replies; 6+ messages in thread
From: Nickle Wang via groups.io @ 2023-07-22  8:18 UTC (permalink / raw)
  To: devel; +Cc: Abner Chang, Igor Kulchytskyy, Nick Ramirez

There are two definitions for strncpy() function in RedfishCrtLib.h

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Cc: Nick Ramirez <nramirez@nvidia.com>
---
 RedfishPkg/Include/Library/RedfishCrtLib.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/RedfishPkg/Include/Library/RedfishCrtLib.h b/RedfishPkg/Include/Library/RedfishCrtLib.h
index 23c6acfca33e..a2c17d1b03fc 100644
--- a/RedfishPkg/Include/Library/RedfishCrtLib.h
+++ b/RedfishPkg/Include/Library/RedfishCrtLib.h
@@ -3,6 +3,7 @@
 
   Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
   (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
+  Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 
     SPDX-License-Identifier: BSD-2-Clause-Patent
 
@@ -304,8 +305,7 @@ char           *
 strncpy    (
   char *,
   size_t,
-  const char *,
-  size_t
+  const char *
   );
 
 int
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107139): https://edk2.groups.io/g/devel/message/107139
Mute This Topic: https://groups.io/mt/100292360/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-23 14:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-22  8:18 [edk2-devel] [PATCH] RedfishPkg/RedfishCrtLib: multiple definitions of strncpy Nickle Wang via groups.io
2023-07-22 12:27 ` Mike Maslenkin
2023-08-03  6:07   ` Nickle Wang via groups.io
     [not found]   ` <1777CA85396897C0.28206@groups.io>
2023-10-23 14:20     ` Nickle Wang via groups.io
2023-07-24  1:15 ` Igor Kulchytskyy via groups.io
2023-07-24  2:03   ` Chang, Abner via groups.io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox