From 42255af64a5471a2668e3a0552d82639e1f70ee4 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 23 Apr 2024 12:29:02 +0200 Subject: checkstyle9: Allow a space between "*" and _*restrict Before the change, we would get errors like this: ERROR: "foo * bar" should be "foo *bar" #369: FILE: foobar.c:369: +barbaz(char * __restrict s, Reviewed by: des, imp Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D44911 --- tools/build/checkstyle9.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/build/checkstyle9.pl b/tools/build/checkstyle9.pl index 7fa02bcabc97..99fd354fbacf 100755 --- a/tools/build/checkstyle9.pl +++ b/tools/build/checkstyle9.pl @@ -202,6 +202,7 @@ our $Sparse = qr{ # Notes to $Attribute: our $Attribute = qr{ const| + _*restrict| volatile| QEMU_NORETURN| QEMU_WARN_UNUSED_RESULT| -- cgit v1.2.3