Re: [PATCH] 2.5.21 kill warnings 4/19

From: Martin Dalecki (
Date: Thu Jun 13 2002 - 07:01:46 EST

Użytkownik Maksim (Max) Krasnyanskiy napisał:
> Hi Martin,
> How about replacing __FUNCTION__ with __func__ ?
> GCC 3.x warns that __FUNCTION__ is obsolete and will be removed.
> Here is how I did it in Bluetooth code:
> #define BT_DBG(fmt, arg...) printk(KERN_INFO "%s: " fmt "\n" ,
> __func__ , ## arg)
> no more warnings from gcc.

At the paces where there are wrapper macros this would
make sense indeed. Otherwise - well not worth the trouble.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:28 EST