B.A.T.M.A.N./A.L.F.R.E.D. OpenMesh project:
function read_answer instantiates a pointer to a type struct vis_print_ops that is defined
struct vis_print_ops
{
void (*preamble)(void);
void (*interfaces)(uint8_t iface_n, struct vis_iface *ifaces);
void (*entries)(uint8_t entries_n, struct vis_entry *vis_entries,
uint8_t iface_n, struct vis_iface *ifaces);
void (*postamble)(void);
};
Now look at
void (*preamble)(void)
could you please tell me what is the meaning of the last (void)? Isn't
void (*preamble)
enough?