aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-mkdtemp.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-06 18:32:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-06 18:32:19 +0000
commitb6d8272551435098c716c546a5201206517e5da9 (patch)
tree223438db91511a96151bc1450143b4c649c40d08 /test-mkdtemp.c
parenteec76d50a016de5e9c4e0d3504b148892a36aabf (diff)
downloadmandoc-b6d8272551435098c716c546a5201206517e5da9.tar.gz
mandoc-b6d8272551435098c716c546a5201206517e5da9.tar.zst
mandoc-b6d8272551435098c716c546a5201206517e5da9.zip
modernize style: "return" is not a function
Diffstat (limited to 'test-mkdtemp.c')
-rw-r--r--test-mkdtemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-mkdtemp.c b/test-mkdtemp.c
index 8e1c46ca..a0cb30e2 100644
--- a/test-mkdtemp.c
+++ b/test-mkdtemp.c
@@ -7,6 +7,6 @@ main(void)
char dirname[] = "/tmp/temp.XXXXXX";
if (mkdtemp(dirname) != dirname)
- return(1);
- return(rmdir(dirname) == -1);
+ return 1;
+ return rmdir(dirname) == -1;
}