Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().
authorclaudio <claudio@openbsd.org>
Wed, 17 Aug 2022 15:15:25 +0000 (15:15 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 17 Aug 2022 15:15:25 +0000 (15:15 +0000)
commiteafe309e35977891f1b9cf639e7c1bffb25da0dd
tree700f972dcdf18d9639aa0f4ee401f492c7c2f04e
parentd0bd5c550f5fbc2fb9000ed5f47c214404c7472b
Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().

The memory regions passed to memcpy() can not overlap so no need for memmove().
OK tb@ deraadt@
16 files changed:
usr.sbin/bgpd/bgpd.c
usr.sbin/bgpd/carp.c
usr.sbin/bgpd/config.c
usr.sbin/bgpd/control.c
usr.sbin/bgpd/kroute.c
usr.sbin/bgpd/mrt.c
usr.sbin/bgpd/parse.y
usr.sbin/bgpd/pfkey.c
usr.sbin/bgpd/pftable.c
usr.sbin/bgpd/rde.c
usr.sbin/bgpd/rde_peer.c
usr.sbin/bgpd/rde_prefix.c
usr.sbin/bgpd/rde_update.c
usr.sbin/bgpd/rtr.c
usr.sbin/bgpd/session.c
usr.sbin/bgpd/util.c