summaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-02-02 13:25:45 -0500
committerJakob Kaivo <jkk@ung.org>2024-02-02 13:25:45 -0500
commit24f39222098253da4ad1a9cd8ddef5b9b0152ba1 (patch)
tree36eede312e7dcb4a9afe49342fba996ef273549d /src/time
parent6aebe0dbfc24f0af73eb422b4748a9b35df5b435 (diff)
use UNDEFINED() instead of directly calling __undefined()
Diffstat (limited to 'src/time')
-rw-r--r--src/time/asctime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/asctime.c b/src/time/asctime.c
index f3d46fad..e3448347 100644
--- a/src/time/asctime.c
+++ b/src/time/asctime.c
@@ -4,7 +4,7 @@
#define CHECKRANGE(field, min, max) do {\
if (timeptr->tm_##field < min || timeptr->tm_##field > max) { \
- __undefined("In call to asctime(), the field tm_%s (%d) is out of range [%d, %d] in the provided time", #field, timeptr->tm_##field, min, max); \
+ UNDEFINED("In call to asctime(), the field tm_%s (%d) is out of range [%d, %d] in the provided time", #field, timeptr->tm_##field, min, max); \
} \
} while (0)