Remove some obsolete sections of librm.h and libkir.h.