lib/attr.h: ATTR_STRING(): It only accepts one argument
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
committed by
Serge Hallyn
parent
d91b22cc2f
commit
a33d7430ed
@@ -26,9 +26,9 @@
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ >= 14)
|
||||
# define ATTR_STRING(...) [[gnu::null_terminated_string_arg(__VA_ARGS__)]]
|
||||
# define ATTR_STRING(i) [[gnu::null_terminated_string_arg(i)]]
|
||||
#else
|
||||
# define ATTR_STRING(...)
|
||||
# define ATTR_STRING(i)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user