]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/string/strftime.[ch]: STRFTIME(): Add macro
authorAlejandro Colomar <alx@kernel.org>
Mon, 29 Jan 2024 12:43:07 +0000 (13:43 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sat, 23 Mar 2024 23:16:00 +0000 (00:16 +0100)
commitb3affb29cff0b16e24a53e0b629daffb597c499c
tree6d8c887011222811dec808977b796f7504eee718
parent0b3d017276f3aeeb3697f994002fa730091ed783
lib/string/strftime.[ch]: STRFTIME(): Add macro

This macro makes sure that the first argument is an array, and
calculates its size.

Reviewed-by: "Serge E. Hallyn" <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/Makefile.am
lib/string/strftime.c [new file with mode: 0644]
lib/string/strftime.h [new file with mode: 0644]