Revert "Update core.c"

This reverts commit 856136e434a67bb88f349e475979152d5ce66978.