Do not use unsupported __attribute__((warn_unused_result)) on gcc3.
authoraoyama <aoyama@openbsd.org>
Thu, 19 Jan 2023 10:59:24 +0000 (10:59 +0000)
committeraoyama <aoyama@openbsd.org>
Thu, 19 Jan 2023 10:59:24 +0000 (10:59 +0000)
commit196a8b7f4cfc28ba67298490a91a38fd510e896c
tree4a2fd8862c8e58ddaf93c0a0dc6efd85c141ed2d
parent704ff15594c8fdaf81b13a0e607bc063c09e433b
Do not use unsupported __attribute__((warn_unused_result)) on gcc3.

This prevents building libfido2 stops with error on luna88k because it
is compiled with -Werror option.

ok, and better #if condition by miod@
lib/libcbor/src/cbor/common.h