The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=87445068f96dffeb4e7f733eb155bb7caf47b5c2

commit 87445068f96dffeb4e7f733eb155bb7caf47b5c2
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-04-12 17:06:04 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-04-12 17:06:04 +0000

    Remove check for __CC_SUPPORTS___FUNC__.
    
    __func__ is part of C99.
    
    PR:             263102 (exp-run)
    Reviewed by:    brooks, imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D34801
---
 sys/dev/ichsmb/ichsmb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/ichsmb/ichsmb.c b/sys/dev/ichsmb/ichsmb.c
index 5354d5ca94c6..ca7c185ec73b 100644
--- a/sys/dev/ichsmb/ichsmb.c
+++ b/sys/dev/ichsmb/ichsmb.c
@@ -69,7 +69,7 @@ __FBSDID("$FreeBSD$");
  * Enable debugging by defining ICHSMB_DEBUG to a non-zero value.
  */
 #define ICHSMB_DEBUG   0
-#if ICHSMB_DEBUG != 0 && defined(__CC_SUPPORTS___FUNC__)
+#if ICHSMB_DEBUG != 0
 #define DBG(fmt, args...)      \
        do { printf("%s: " fmt, __func__ , ## args); } while (0)
 #else

Reply via email to