CryptoPkg/Crt: fix strcpy build on older VS compilers

Drop 'restrict' keyword which older visual studio compiler
versions complain about.

Fixes: fab6285a73 ("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:
Gerd Hoffmann 2022-04-20 14:16:56 +08:00 committed by mergify[bot]
parent 76fda1def3
commit 532bd4ec38
2 changed files with 4 additions and 4 deletions

View File

@ -267,8 +267,8 @@ strcspn (
char *
strcpy (
char *restrict strDest,
const char *strSource
char *strDest,
const char *strSource
)
{
AsciiStrCpyS (strDest, MAX_STRING_SIZE, strSource);

View File

@ -397,8 +397,8 @@ inet_pton (
char *
strcpy (
char *restrict strDest,
const char *strSource
char *strDest,
const char *strSource
);
//