diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-06 18:32:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-06 18:32:19 +0000 |
commit | cdd9965f2080354017315270cbc3dc2da6378df9 (patch) | |
tree | abceb46c894355584ad94178001ebb10ff35db04 /test-fts.c | |
parent | 2c5e2d1085930e82ce52bf9402182a0630e8f39d (diff) | |
download | mandoc-cdd9965f2080354017315270cbc3dc2da6378df9.tar.gz |
modernize style: "return" is not a function
Diffstat (limited to 'test-fts.c')
-rw-r--r-- | test-fts.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; } |