mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-01 02:44:23 +02:00
CryptoPkg/Crt: fix strcpy build on older VS compilers
Drop 'restrict' keyword which older visual studio compiler versions complain about. Fixes: fab6285a73c4 ("CryptoPkg/CrtLibSupport: fix strcpy") Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
76fda1def3
commit
532bd4ec38
@ -267,7 +267,7 @@ strcspn (
|
|||||||
|
|
||||||
char *
|
char *
|
||||||
strcpy (
|
strcpy (
|
||||||
char *restrict strDest,
|
char *strDest,
|
||||||
const char *strSource
|
const char *strSource
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -397,7 +397,7 @@ inet_pton (
|
|||||||
|
|
||||||
char *
|
char *
|
||||||
strcpy (
|
strcpy (
|
||||||
char *restrict strDest,
|
char *strDest,
|
||||||
const char *strSource
|
const char *strSource
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user