diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2022-04-20 14:16:56 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-04-20 10:56:03 +0000 |
commit | 532bd4ec384b8e5764d97a62e5bd01fdbae6bd7a (patch) | |
tree | eb30792d895297559a01d53b6d146a6eba362c26 /CryptoPkg/Library/Include | |
parent | 76fda1def3d1baea3b01ae697687ff478d2d1b42 (diff) | |
download | edk2-532bd4ec384b8e5764d97a62e5bd01fdbae6bd7a.tar.gz edk2-532bd4ec384b8e5764d97a62e5bd01fdbae6bd7a.tar.bz2 edk2-532bd4ec384b8e5764d97a62e5bd01fdbae6bd7a.zip |
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>
Diffstat (limited to 'CryptoPkg/Library/Include')
-rw-r--r-- | CryptoPkg/Library/Include/CrtLibSupport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h index bdc2654b6e..e49060124f 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -397,8 +397,8 @@ inet_pton ( char *
strcpy (
- char *restrict strDest,
- const char *strSource
+ char *strDest,
+ const char *strSource
);
//
|