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

Ludwig Nussel ludwig.nussel at suse.de
Thu Sep 7 15:08:21 CEST 2006


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)

--
 (o_   Ludwig Nussel
 //\   SUSE LINUX Products GmbH, Development
 V_/_  http://www.suse.de/



More information about the linux-dvb mailing list