Skip to content

Commit 1254761

Browse files
committed
ngx-releng: checked pointer return value style in C function declarations.
1 parent 0c042ec commit 1254761

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ngx-releng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ ack '\--- *(?:ONLY|LAST)' `find t -name '*.t'` /dev/null
2929
ack -l '\r\n' t /dev/null
3030
ack '\(\);' $hfiles /dev/null
3131
ack '^static .*?\(\);' $cfiles /dev/null
32+
ack '^static [^()]*?\*\s\w+' $cfiles /dev/null
33+
ack '^\w+[^()]*?\*\s\w+' $hfiles /dev/null
3234
ack '^[a-zA-Z]\w+\(\)$' $cfiles /dev/null
3335
ack '^\#\s*define\s+ngx_http_\w+?_version\s+\d+$' $cfiles /dev/null
3436
ack '\b(?:if|for|while)\(|\bdo\{' $cfiles /dev/null

0 commit comments

Comments
 (0)