devctl.h does not compile from C++ (cloned)
#4174 (closed):
Cloned fromThe closing boilerplate of the C++ extern C wrapper is out of order with another #endif and the resulting code does not compile.
The attached patch addresses this but it needs to be merged to newlib and the RSB updated before this ticket closed.