Use memset instead of bzero
[profile/ivi/libxkbcommon.git] / src / xkbcomp / action.c
index c5c4c9b..c2cbd01 100644 (file)
@@ -1421,8 +1421,8 @@ ActionsInit(void)
 {
     if (!actionsInitialized)
     {
-        bzero((char *) &constTrue, sizeof(constTrue));
-        bzero((char *) &constFalse, sizeof(constFalse));
+        memset(&constTrue, 0, sizeof(constTrue));
+        memset(&constFalse, 0, sizeof(constFalse));
         constTrue.common.stmtType = StmtExpr;
         constTrue.common.next = NULL;
         constTrue.op = ExprIdent;