From the IGI
JAMES BARR Birth: 20 MAR 1869 Kilmarnock, Ayr
Father: ROBERT BARR Mother: MARY DONALD
1871 shows father Robert as a farmer of 110 acres
JAMES BARR Birth: 04 JUL 1869 Dalry, Ayr
Father: ROBERT BARR Mother: MARY NELSON
As shown in my previous reply
They are the only 2 entries on the 1871 census who were born in Ayr