Several compiler warnings being reported when running make check.
seed to rand_r shoud be of unsinged int.
getCharPtr as defined in the cmpi headers should return a const char*.
The old cmpi-devel headers included the stdio library which transitively was included into other code. The Test_reg_pollfnc test case needts to explicitly include stdio.h.