]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/attr.h: Add ATTR_STRING() attribute macro
authorAlejandro Colomar <alx@kernel.org>
Sun, 26 Nov 2023 17:38:40 +0000 (18:38 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 4 Dec 2023 11:22:47 +0000 (12:22 +0100)
commita61cf0068bf8b56dec5a1d42c9e9701199fcbb0f
tree99e091512cc67ca1724330be32a377acc4b4a075
parent1c464d9a2df7da655eb85f6239beb23527575f9b
lib/attr.h: Add ATTR_STRING() attribute macro

It signals that a function parameter is a string _before_ the call.

Suggested-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/attr.h