There is no reason why an evolutionary pathway should preclude re-use of similar parts. Ants and elephants have jointed legs that perform the same function.