Remove the unneeded void cast

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-04-17 23:14:13 +08:00
committed by Petro Karashchenko
parent 32ee2ae407
commit ef1a98dd00
108 changed files with 216 additions and 226 deletions
+2 -2
View File
@@ -46,11 +46,11 @@
#endif
#ifndef bcopy /* See mm/README.txt */
#define bcopy(b1,b2,len) (void)memmove(b2,b1,len)
#define bcopy(b1,b2,len) memmove(b2,b1,len)
#endif
#ifndef bzero /* See mm/README.txt */
#define bzero(s,n) (void)memset(s,0,n)
#define bzero(s,n) memset(s,0,n)
#endif
#define strcasecmp_l(s1, s2, l) strcasecmp(s1, s2)