]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/time/day_to_str.h: DAY_TO_STR(): Add macro
authorAlejandro Colomar <alx@kernel.org>
Mon, 29 Jan 2024 14:14:29 +0000 (15:14 +0100)
committerSerge Hallyn <serge@hallyn.com>
Thu, 14 Mar 2024 21:30:46 +0000 (16:30 -0500)
commit19edb06fd2e4efe7f431b57ff9e7f05265e6fb16
tree76f5a44c1782dd360ab8b3b4d08a0a102f5f6b8c
parentbe05c62bd7e146a54e6b54b1dc10c1e145e48381
lib/time/day_to_str.h: DAY_TO_STR(): Add macro

This macro ensures that the buffer is an array, and calculates the size.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/time/day_to_str.h