aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-fts.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-fts.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-fts.c')
-rw-r--r--test-fts.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test-fts.c b/test-fts.c
index 1a1bfc7c..dbee5292 100644
--- a/test-fts.c
+++ b/test-fts.c
@@ -18,25 +18,25 @@ main(void)
if (ftsp == NULL) {
perror("fts_open");
- return(1);
+ return 1;
}
entry = fts_read(ftsp);
if (entry == NULL) {
perror("fts_read");
- return(1);
+ return 1;
}
if (fts_set(ftsp, entry, FTS_SKIP) != 0) {
perror("fts_set");
- return(1);
+ return 1;
}
if (fts_close(ftsp) != 0) {
perror("fts_close");
- return(1);
+ return 1;
}
- return(0);
+ return 0;
}