diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-12 17:20:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-12 17:20:54 +0000 |
commit | be41a1e5f23a3320a4d890accd66e2abb6067a7f (patch) | |
tree | 1de85b0f6ca7688e9ce1a844a52aaf56cf42d830 /share/man | |
parent | b06c13ebb42a6a658b87b1b644688b9062f2fb0c (diff) |
Parentheses are useless after "return", it's not a function.
There is no need to mop this up everywhere, but at least style(9)
should show modern rather than historic style.
OK millert@ tedu@
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/style.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 809c16f0594..48804a69cf4 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: style.9,v 1.63 2015/10/05 21:59:29 tedu Exp $ +.\" $OpenBSD: style.9,v 1.64 2015/10/12 17:20:53 schwarze Exp $ .\" -.Dd $Mdocdate: October 5 2015 $ +.Dd $Mdocdate: October 12 2015 $ .Dt STYLE 9 .Os .Sh NAME @@ -531,7 +531,7 @@ if ((four = malloc(sizeof(struct foo))) == NULL) err(1, NULL); if ((six = (int *)overflow()) == NULL) errx(1, "Number overflowed."); -return (eight); +return eight; .Ed .Pp Old-style function declarations look like this: |