diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-12 12:37:27 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-12 12:37:27 -0400 |
| commit | 96bc699d269ff79bf31dad182f1a2b96226e8ce5 (patch) | |
| tree | 9af5549537afa7e0083e1811f70371069dbde62f /src | |
| parent | 9b7a784099f11fa20312a118c74d08a2c25572fc (diff) | |
| download | stasis-96bc699d269ff79bf31dad182f1a2b96226e8ce5.tar.gz | |
Replace __FUNCTION__ with __func__ (portable)
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/core/include/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/include/log.h b/src/lib/core/include/log.h index 18617c4..cad954f 100644 --- a/src/lib/core/include/log.h +++ b/src/lib/core/include/log.h @@ -16,7 +16,7 @@ struct ExecPoint { const char *function; // function of origin }; -#define EXECPOINT (struct ExecPoint) {.line = __LINE__, .file = __FILE__, .function = __FUNCTION__} +#define EXECPOINT (struct ExecPoint) {.line = __LINE__, .file = __FILE__, .function = __func__} void log_print_error(struct ExecPoint ep, const char *fmt, ...); void log_print_warning(struct ExecPoint ep, const char *fmt, ...); |
