[linux-dvb] [patch 4/6] remove useless define of printf

Christoph Pfister christophpfister at gmail.com
Thu Sep 7 20:14:31 CEST 2006


Hi,

Am Donnerstag, 7. September 2006 15:08 schrieb Ludwig Nussel:
> redefining printf causes a warning with -D_FORTIFY_SOURCE=2
>
> Signed-off-by: lnussel at suse.de
>
> diff -r 03965ac8ff4f util/scan/diseqc.c
> --- a/util/scan/diseqc.c	Thu Sep  7 11:34:13 2006
> +++ b/util/scan/diseqc.c	Thu Sep  7 13:37:56 2006
> @@ -36,9 +36,6 @@
>  	while (nanosleep(&req, &req))
>  		;
>  }
> -
> -#define printf(x...)
> -
>
>  int diseqc_send_msg (int fd, fe_sec_voltage_t v, struct diseqc_cmd **cmd,
>  		     fe_sec_tone_mode_t t, fe_sec_mini_cmd_t b)

Ok.

Christoph



More information about the linux-dvb mailing list