diff options
author | Nickle Wang <nicklew@nvidia.com> | 2023-07-21 21:43:17 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-01 03:07:50 +0000 |
commit | 1b1509abee839b74d3232bbd6a256a1bdc230925 (patch) | |
tree | e4ed0d9142c1886d638833ced8cf72280a03f4f1 /RedfishPkg/Include | |
parent | ccbe2e938386ed1ec49b3ad8ed6d107e7416e273 (diff) | |
download | edk2-1b1509abee839b74d3232bbd6a256a1bdc230925.zip edk2-1b1509abee839b74d3232bbd6a256a1bdc230925.tar.gz edk2-1b1509abee839b74d3232bbd6a256a1bdc230925.tar.bz2 |
RedfishPkg/RedfishCrtLib: remove multiple definitions.
There are two definitions for below functions in RedfishCrtLib.h. Create
this change to remote duplicated functions.
Function list: strcmp(), strncmp(), strncpy(), strcpy(), strcat(),
strlen(), strchr(), strcasecmp(), strstr(), memcmp(), memset(),
memcpy(), memchr(), memcmp() and memmove().
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>
Cc: Mike Maslenkin <mike.maslenkin@gmail.com>
Reviewed-by: Abner Chang <abner.chang@amd.com>
Acked-by: Mike Maslenkin <mike.maslenkin@gmail.com>
Diffstat (limited to 'RedfishPkg/Include')
-rw-r--r-- | RedfishPkg/Include/Library/RedfishCrtLib.h | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/RedfishPkg/Include/Library/RedfishCrtLib.h b/RedfishPkg/Include/Library/RedfishCrtLib.h index 23c6acf..ac6c516 100644 --- a/RedfishPkg/Include/Library/RedfishCrtLib.h +++ b/RedfishPkg/Include/Library/RedfishCrtLib.h @@ -172,20 +172,6 @@ free ( void *
);
-void *
-memset (
- void *,
- int,
- size_t
- );
-
-int
-memcmp (
- const void *,
- const void *,
- size_t
- );
-
int
isdigit (
int
@@ -216,47 +202,6 @@ isalnum ( int
);
-void *
-memcpy (
- void *,
- const void *,
- size_t
- );
-
-void *
-memset (
- void *,
- int,
- size_t
- );
-
-void *
-memchr (
- const void *,
- int,
- size_t
- );
-
-int
-memcmp (
- const void *,
- const void *,
- size_t
- );
-
-void *
-memmove (
- void *,
- const void *,
- size_t
- );
-
-int
-strcmp (
- const char *,
- const char *
- );
-
int
strncmp (
const char *,
@@ -264,35 +209,6 @@ strncmp ( size_t
);
-char *
-strcpy (
- char *,
- const char *
- );
-
-size_t
-strlen (
- const char *
- );
-
-char *
-strcat (
- char *,
- const char *
- );
-
-char *
-strchr (
- const char *,
- int
- );
-
-int
-strcasecmp (
- const char *,
- const char *
- );
-
int
strncasecmp (
const char *,
@@ -301,21 +217,6 @@ strncasecmp ( );
char *
-strncpy (
- char *,
- size_t,
- const char *,
- size_t
- );
-
-int
-strncmp (
- const char *,
- const char *,
- size_t
- );
-
-char *
strrchr (
const char *,
int
@@ -328,12 +229,6 @@ strtoul ( int
);
-char *
-strstr (
- const char *s1,
- const char *s2
- );
-
long
strtol (
const char *,
|