Which one of the following is not compulsory function of state?

Which one of the following is not compulsory function of state?

A. Enacting a constitution for the people
B. Specifying rights and duties of the people
C. Maintaining armed forces
D. Regulation of labour laws
E. Awarding of pubishment for crimes