remove obsolete code & add missing definition of c_char

1 job for master in 32 minutes and 33 seconds (queued for 2 seconds)