diff --git a/sys/lint-assert.sh b/sys/lint-assert.sh index b875f6ff94749..b3213d5d87ad9 100755 --- a/sys/lint-assert.sh +++ b/sys/lint-assert.sh @@ -1,2 +1,2 @@ #!/bin/sh -git grep -C1 R_API libr | awk '/R_API/ && !/NULL/ {getline nextLine; if (nextLine !~ /R_RETURN/) print $0}' | grep 'c:' +git grep -C1 R_API libr | awk '/R_API/ && !/NULL/ && !/(void)/ {getline nextLine; if (nextLine !~ /R_RETURN/) print $0}' | grep 'c:'