bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

more uses for the 'attribute' module


From: Bruno Haible
Subject: more uses for the 'attribute' module
Date: Fri, 08 May 2020 18:41:36 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

These patches enable the use of the 'attribute' module in a couple of more
places. And fix a typo.


2020-05-08  Bruno Haible  <address@hidden>

        ignore-value tests: Use module 'attribute'.
        * m4/gnulib-common.m4 (gl_COMMON_BODY): Fix a typo.
        * tests/test-ignore-value.c: Include attribute.h.
        (_GL_ATTRIBUTE_RETURN_CHECK): Remove macro. Use NODISCARD instead.
        * modules/ignore-value-tests (Depends-on): Add attribute.

2020-05-08  Bruno Haible  <address@hidden>

        uniname/uniname: Use module 'attribute'.
        * lib/uniname/gen-uninames.lisp: Emit a reference to ATTRIBUTE_PACKED.
        * lib/uniname/uninames.h: Regenerated.
        * lib/uniname/uniname.c: Include attribute.h.
        * modules/uniname/uniname (Depends-on): Add attribute.

2020-05-08  Bruno Haible  <address@hidden>

        c32rtomb: Use module 'attribute'.
        * lib/c32rtomb.c: Include attribute.h.
        (FALLTHROUGH): Remove macro.
        * modules/c32rtomb (Depends-on): Add attribute.

2020-05-08  Bruno Haible  <address@hidden>

        xsize: Use module 'attribute'.
        * lib/xsize.h: Include attribute.h. Use ATTRIBUTE_PURE.
        * modules/xsize (Depends-on): Add attribute.

Attachment: 0001-xsize-Use-module-attribute.patch
Description: Text Data

Attachment: 0002-c32rtomb-Use-module-attribute.patch
Description: Text Data

Attachment: 0003-uniname-uniname-Use-module-attribute.patch
Description: Text Data

Attachment: 0004-ignore-value-tests-Use-module-attribute.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]