lib/utils: try to placate attribute placement restriction from gcc
commit65631e5dfff5d0b8f691aba1e838c83dceb621d0
authorLaszlo Ersek <lersek@redhat.com>
Tue, 21 Mar 2023 12:12:47 +0000 (21 13:12 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 21 Mar 2023 12:12:47 +0000 (21 13:12 +0100)
tree43beb12e149c76929ec18985ccf5ca797a85ca65
parentb29ff42e5d005abdfd837d7a8b5fa9f0720ad469
lib/utils: try to placate attribute placement restriction from gcc

Recent gcc in CI whines about attribute placement; try to fix it by
placing the attribute as we did it in commit 4a7f07addf8b ("lib/utils:
introduce xwritel() as a more robust and convenient write()", 2023-03-16).

Fixes: aa696c0a6a9d39e72b182c4bf54493eec23cf1a9
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
lib/utils.c