UTest.cpp: Moved helper functions inside extern "C" block.

Elimited redundant declarations and moved helper functions inside extern "C' block.