Revert r307813.
I misread the code, and it shouldn't have compiled (fputhread is just a variable name).