Harvey Harrison <harvey.harrison@xxxxxxxxx> writes: > On Thu, 2009-01-08 at 17:45 -0600, Yoann Padioleau wrote: >> Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes: > >> @@ >> identifier f; >> @@ >> >> f(...) >> { >> + fprintf(stderr, "%s: %s()\n", __FILE__, __FUNCTION__); >> ... >> } >> > > Personal pet-peeve, use __func__, not __FUNCTION__. > > __func__ is C, __FUNCTION__ is a gcc-extension. Ok. Is there also a __file__, and __line__ ? If this not the case then I would rather keep my __FUNCTION__, it's estetically more consistent. > > Cheers, > > Harvey -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html