Aging renewal theory and application to random walks