From ed250b1a62738527e57f9e6a5d9409e84d185067 Mon Sep 17 00:00:00 2001 From: "Dr. Fiemost" Date: Sat, 21 Jan 2017 14:13:06 +0100 Subject: [PATCH] Avoid use of deprecated function --- netlist_sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlist_sim.c b/netlist_sim.c index 2a122d1..8104eee 100644 --- a/netlist_sim.c +++ b/netlist_sim.c @@ -130,7 +130,7 @@ typedef struct { static inline void bitmap_clear(bitmap_t *bitmap, count_t count) { - bzero(bitmap, WORDS_FOR_BITS(count)*sizeof(bitmap_t)); + memset(bitmap, 0, WORDS_FOR_BITS(count)*sizeof(bitmap_t)); } static inline void