X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv.c;h=3a3d142692aeab0018c13770d7eab1a94502cccc;hp=1bbef74358aee51e75b8806a6eef9697d6c31696;hb=f491dc59b5eee838165b60e7815a06139fed7f74;hpb=47a91602a972646e098874c0bcfed5350d130edb diff --git a/recv.c b/recv.c index 1bbef743..3a3d1426 100644 --- a/recv.c +++ b/recv.c @@ -1,25 +1,15 @@ /* * Copyright (C) 2005-2007 Andre Noll * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file recv.c the stand-alone audio stream receiver */ -#include "para.h" +#include +#include +#include "para.h" #include "list.h" #include "sched.h" #include "recv.h" @@ -43,6 +33,7 @@ static void *parse_config(int argc, char *argv[], int *receiver_num) if (recv_cmdline_parser(argc, argv, &conf)) return NULL; + HANDLE_VERSION_FLAG("recv", conf); if (conf.list_receivers_given) { printf("available receivers: "); for (i = 0; receivers[i].name; i++)