mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-16 22:51:32 +00:00
staging: csr: csr_util.h: Remove commented macros
All these macros are commented, so we can removed it. Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d69803b955
commit
b433ed5bfe
@ -47,17 +47,10 @@ void CsrUInt32ToHex(CsrUint32 number, CsrCharString *str);
|
|||||||
#define CsrMemCmp(s1, s2, n) ((CsrInt32) memcmp((s1), (s2), (n)))
|
#define CsrMemCmp(s1, s2, n) ((CsrInt32) memcmp((s1), (s2), (n)))
|
||||||
#define CsrStrCmp(s1, s2) ((CsrInt32) strcmp((s1), (s2)))
|
#define CsrStrCmp(s1, s2) ((CsrInt32) strcmp((s1), (s2)))
|
||||||
#define CsrStrNCmp(s1, s2, n) ((CsrInt32) strncmp((s1), (s2), (n)))
|
#define CsrStrNCmp(s1, s2, n) ((CsrInt32) strncmp((s1), (s2), (n)))
|
||||||
/*#define CsrMemChr memchr*/
|
|
||||||
#define CsrStrChr strchr
|
#define CsrStrChr strchr
|
||||||
/*#define CsrStrCSpn strcspn*/
|
|
||||||
/*#define CsrStrPBrk strpbrk*/
|
|
||||||
/*#define CsrStrRChr strrchr*/
|
|
||||||
/*#define CsrStrSpn strspn*/
|
|
||||||
#define CsrStrStr strstr
|
#define CsrStrStr strstr
|
||||||
/*#define CsrStrTok strtok*/
|
|
||||||
#define CsrMemSet memset
|
#define CsrMemSet memset
|
||||||
#define CsrStrLen strlen
|
#define CsrStrLen strlen
|
||||||
/*#define CsrVsnprintf(s, n, format, arg) ((CsrInt32) vsnprintf((s), (n), (format), (arg)))*/
|
|
||||||
#else /* !CSR_USE_STDC_LIB */
|
#else /* !CSR_USE_STDC_LIB */
|
||||||
void *CsrMemCpy(void *dest, const void *src, CsrSize count);
|
void *CsrMemCpy(void *dest, const void *src, CsrSize count);
|
||||||
void *CsrMemMove(void *dest, const void *src, CsrSize count);
|
void *CsrMemMove(void *dest, const void *src, CsrSize count);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user