Moduli of continuity and a Hardy-Littlewood theorem