Description
In several places in our shell code we have code that has inlined definitions for undocumented functions. This was needed back in the day the code was developed (mostly in windows). But now that we have proper headers for this we should move these definitions there. This ticket tracks this process.