Miscellaneous fixes to finish up `remove-statics'. rlogin.c had a