summaryrefslogtreecommitdiffstats
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
commitcdd9965f2080354017315270cbc3dc2da6378df9 (patch)
treeabceb46c894355584ad94178001ebb10ff35db04 /test-fts.c
parent2c5e2d1085930e82ce52bf9402182a0630e8f39d (diff)
downloadmandoc-cdd9965f2080354017315270cbc3dc2da6378df9.tar.gz
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;
}