write_riemann plugin: Reorder the functions to get rid or prototypes.