template: const correctness
commite085aab9a4664efad596e4177443c94125fd0aac
authorJim Meyering <meyering@redhat.com>
Mon, 11 Oct 2010 20:50:57 +0000 (11 22:50 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 11 Oct 2010 21:44:02 +0000 (11 23:44 +0200)
tree05a3c463de1d34c8b1fba27a498768e63cfda34a
parentc9e88edd5d31c8b3465af9558d424b329d483812
template: const correctness

* template.c (xml_format, json_format): Declare const.
(xml_obj_header, xml_obj_entry, xml_obj_footer): Likewise.
Adjust all uses of ctx->format accordingly.
* template.h [struct tmpl_format_t] (format): Declare const.
template.c
template.h