Moved definition of function ENSURE-GLOBAL-FUNCTION-ENTRY.