freerds: don't use C++ bool in C