Use "const char tempchars[]" instead of "const char *tempchars".
Since tempchars is never reassigned there's no need to indirect
through a pointer.  Still getting used to this newfangled C89.