0080c196f8
so that these ioctls can be handled by the calling layer(s). Clean up the recently added code: - include the appropriate header to declare an implicitly declared function. - declare timeout functions correctly and remove numerous bogus casts that hid (but didn't fix) their incorrectness.