gnulib: update, and use the attribute module

* gnulib: Update.
* bootstrap.conf: Use attribute.
* src/system.h: Remove macros for attributes.
Adjust dependencies.
* src/scan-gram.l (DEPRECATED): Rename as...
(DEPRECATED_DIRECTIVE): this, to avoid the clash with the DEPRECATED macro.
This commit is contained in:
Akim Demaille
2020-05-08 17:35:23 +02:00
parent f049a57eec
commit fb49a10e2c
8 changed files with 22 additions and 40 deletions

View File

@@ -21,6 +21,7 @@
#include <config.h>
#include "system.h"
#include <attribute.h>
#include <error.h>
#include <hash.h>
#include <quotearg.h>
@@ -117,12 +118,11 @@ uniqstr_print (uniqstr ustr)
}
static bool
uniqstr_print_processor (void *ustr, void *null ATTRIBUTE_UNUSED)
uniqstr_print_processor (void *ustr, void *null MAYBE_UNUSED)
{
return uniqstr_print (ustr);
}
int
uniqstr_cmp (uniqstr l, uniqstr r)
{