1) Change the string "bits" to "bitstr" everywhere (preserving case). 2) Remove the declarations bits_to_uint() and bits_from_uint().