They are just two different years of 105. They will work fine.
Are there are random parts on it? Could be chop-shopped... seen a lot of those around lately. Bunch of stolen bikes, parts swapped, people have a hard time proving it's their stolen parts because everything's been switched.