don't const castway __rpc_getconf and __rpc_getconfig. It might try to write const strings fix non-portable casts remove duplicated prototypes cast things to proper types remove extraneous casts to NULL fix variable cast mismatches remove register var declarations
to use strtok_r
but sockets instead, internally. Old, backward compatible interfaces maintained.