diff options
author | Bruno Haible <bruno@clisp.org> | 2021-08-08 17:44:31 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-08-08 17:44:31 +0200 |
commit | 36eeafa7eda88ed751bedbd7a72f91509eef8de1 (patch) | |
tree | ae5d873796578cefcdd4872a5a330edda64edccb | |
parent | 5255b01d2c863e75c9e8ca72d6e9bec12eaa5fde (diff) | |
download | libunistring-36eeafa7eda88ed751bedbd7a72f91509eef8de1.tar.gz |
Update after gnulib changed on 2021-07-30.
Reported by Tim Rühsen <tim.ruehsen@gmx.de> in
<https://lists.gnu.org/archive/html/bug-libunistring/2021-08/msg00006.html>.
* lib/unistring/cdefs.h (_GL_ATTRIBUTE_MAYBE_UNUSED): New macro.
-rw-r--r-- | lib/unistring/cdefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/unistring/cdefs.h b/lib/unistring/cdefs.h index 91e3292..3650f54 100644 --- a/lib/unistring/cdefs.h +++ b/lib/unistring/cdefs.h @@ -30,6 +30,10 @@ #ifndef _GL_UNUSED_PARAMETER # define _GL_UNUSED_PARAMETER _UC_ATTRIBUTE_MAYBE_UNUSED #endif +/* _GL_ATTRIBUTE_MAYBE_UNUSED likewise. */ +#ifndef _GL_ATTRIBUTE_MAYBE_UNUSED +# define _GL_ATTRIBUTE_MAYBE_UNUSED _UC_ATTRIBUTE_MAYBE_UNUSED +#endif #ifndef _GL_ATTRIBUTE_MALLOC # define _GL_ATTRIBUTE_MALLOC _UC_ATTRIBUTE_MALLOC |