mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
Replace deprecated bzero with memset
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Marcin Baczyński <marbacz@gmail.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
f9810ba914
commit
5a0fc0ad21
32 changed files with 132 additions and 132 deletions
|
|
@ -183,7 +183,7 @@ struct _ct_node *ct_head[256];
|
|||
|
||||
void InitConnectionTranslation(void)
|
||||
{
|
||||
bzero(ct_head, sizeof(ct_head));
|
||||
memset(ct_head, 0, sizeof(ct_head));
|
||||
}
|
||||
|
||||
int GetConnectionTranslation(int conn)
|
||||
|
|
|
|||
Loading…
Reference in a new issue