X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=udp_recv.c;h=5cd9d9dd43bdeea379953f6965d68818fc1504ef;hp=cff55f2dd9845a4b90098d28badd4b3d9357a3cb;hb=166c7ec3e1b77ee8d4d8e50dd8314ca4c683ae26;hpb=625fdbbafaf3842753bff02b349eaaf9554d846d diff --git a/udp_recv.c b/udp_recv.c index cff55f2d..5cd9d9dd 100644 --- a/udp_recv.c +++ b/udp_recv.c @@ -5,9 +5,14 @@ */ /** \file udp_recv.c Paraslash's udp receiver */ +#include #include #include #include +#include +#include +#include +#include #include "para.h" #include "error.h" @@ -220,9 +225,6 @@ void udp_recv_init(struct receiver *r) r->post_select = udp_recv_post_select; r->parse_config = udp_recv_parse_config; r->free_config = udp_recv_free_config; - r->help = (struct ggo_help) { - .short_help = udp_recv_args_info_help, - .detailed_help = udp_recv_args_info_detailed_help - }; + r->help = (struct ggo_help)DEFINE_GGO_HELP(udp_recv); udp_recv_cmdline_parser_free(&dummy); }