Why put these functions into rec_merge.c, anyway?  Do they have any connection to the merge code?