On Mon Oct 20, 2003 at 18:27:14 +0800, well wrote:
>Hi All
>
>    Sorry, this question doesn't belong to technical questions.
>I want to disable all debug message and all debug function link to printf.
>It should be able to disable it with one line define like:
>
>#define printf (%#$%#$%#)               ------> I don't remember
>
>Can somebody help me to complete the define to disable debug message.
>
>Any suggestion would be appreciated.
>

#define printf(x...)

However, I think that this is a GCCism, which you may or may not
care about.

Of course, if you want to disable all output you can do this at a higher
level by just redirecting to /dev/null.

Benno
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to