Fix typos in basic.c and basic.h