*/
/*
- * $Id: bsd-comp.c,v 1.2 1999/04/01 07:26:30 paulus Exp $
+ * $Id: bsd-comp.c,v 1.3 1999/04/16 11:35:59 paulus Exp $
*/
#include <sys/types.h>
db = (struct bsd_db *) malloc(newlen);
if (!db)
return NULL;
- bzero(db, sizeof(*db) - sizeof(db->dict));
+ memset(db, 0, sizeof(*db) - sizeof(db->dict));
if (!decomp) {
db->lens = NULL;
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
- * $Id: deflate.c,v 1.2 1999/04/01 07:26:30 paulus Exp $
+ * $Id: deflate.c,v 1.3 1999/04/16 11:35:59 paulus Exp $
*/
#include <sys/types.h>
}
state->w_size = w_size;
- bzero(&state->stats, sizeof(state->stats));
+ memset(&state->stats, 0, sizeof(state->stats));
return (void *) state;
}