diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-03 18:32:18 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:20 -0400 |
commit | 9bf8e7ddeaf57f1ec534014c447705ad31d5d721 (patch) | |
tree | 6cb4dd4763631bf9f181ba30ffce6ebbfc70073b /sound/oss/vwsnd.c | |
parent | 24982c5f7feca2f4d1b0b562a28b767d93a01ce0 (diff) |
[ALSA] sound: replace remaining __FUNCTION__ occurences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/vwsnd.c')
-rw-r--r-- | sound/oss/vwsnd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/oss/vwsnd.c b/sound/oss/vwsnd.c index d25249a932bf..2c5aaa58046d 100644 --- a/sound/oss/vwsnd.c +++ b/sound/oss/vwsnd.c | |||
@@ -194,11 +194,11 @@ static void dbgassert(const char *fcn, int line, const char *expr) | |||
194 | * DBGRV - debug print function return when verbose | 194 | * DBGRV - debug print function return when verbose |
195 | */ | 195 | */ |
196 | 196 | ||
197 | #define ASSERT(e) ((e) ? (void) 0 : dbgassert(__FUNCTION__, __LINE__, #e)) | 197 | #define ASSERT(e) ((e) ? (void) 0 : dbgassert(__func__, __LINE__, #e)) |
198 | #define DBGDO(x) x | 198 | #define DBGDO(x) x |
199 | #define DBGX(fmt, args...) (in_interrupt() ? 0 : printk(KERN_ERR fmt, ##args)) | 199 | #define DBGX(fmt, args...) (in_interrupt() ? 0 : printk(KERN_ERR fmt, ##args)) |
200 | #define DBGP(fmt, args...) (DBGX("%s: " fmt, __FUNCTION__ , ##args)) | 200 | #define DBGP(fmt, args...) (DBGX("%s: " fmt, __func__ , ##args)) |
201 | #define DBGE(fmt, args...) (DBGX("%s" fmt, __FUNCTION__ , ##args)) | 201 | #define DBGE(fmt, args...) (DBGX("%s" fmt, __func__ , ##args)) |
202 | #define DBGC(rtn) (DBGP("calling %s\n", rtn)) | 202 | #define DBGC(rtn) (DBGP("calling %s\n", rtn)) |
203 | #define DBGR() (DBGP("returning\n")) | 203 | #define DBGR() (DBGP("returning\n")) |
204 | #define DBGXV(fmt, args...) (shut_up ? 0 : DBGX(fmt, ##args)) | 204 | #define DBGXV(fmt, args...) (shut_up ? 0 : DBGX(fmt, ##args)) |