aboutsummaryrefslogtreecommitdiff
path: root/tests/include/testing.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-06-22 00:20:37 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-06-22 11:57:05 -0400
commit1ff5ae0d28c5525c50ce0962dd20725b4e8ad7c2 (patch)
treed0591aa1030f540b202486507ab2714ba3b97959 /tests/include/testing.h
parentdbbd423b4a57267ded4fab80bdd54b5eca2cedb3 (diff)
downloadstasis-1ff5ae0d28c5525c50ce0962dd20725b4e8ad7c2.tar.gz
Replace __FUNCTION__ with __func__
Diffstat (limited to 'tests/include/testing.h')
-rw-r--r--tests/include/testing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/include/testing.h b/tests/include/testing.h
index 393ab0b..a669b5d 100644
--- a/tests/include/testing.h
+++ b/tests/include/testing.h
@@ -11,7 +11,7 @@
#ifdef STASIS_TEST_VERBOSE
#define STASIS_TEST_MSG(MSG, ...) do { \
-fprintf(stderr, "%s:%d:%s(): ", path_basename(__FILE__), __LINE__, __FUNCTION__); \
+fprintf(stderr, "%s:%d:%s(): ", path_basename(__FILE__), __LINE__, __func__); \
fprintf(stderr, MSG LINE_SEP, __VA_ARGS__); \
} while (0)
#else