(b) The omission of the words "hard labor" in any sentence or punishment of a court-martial adjudging confinement shall not be construed as depriving the authority executing such sentence or punishment of the power to require hard labor as a part of the punishment.
(c) The keepers, officers and wardens of all city or county jails and of all other jails, penitentiaries or prisons designated by the governor or by the adjutant general pursuant to section 130.11 of this chapter shall receive the bodies of persons ordered into confinement prior to trial and of persons committed to confinement by the process or mandate of a military court and shall confine them according to law, and no such keeper, officer or warden shall demand or require payment of any fee or charge of any nature for receiving or confining a person in such jail, penitentiary or prison.