Fixes compiler warning: implicit declaration of function 'isalnum'
Fixes compiler warning: control reaches end of non-void function