summaryrefslogtreecommitdiffstats
path: root/test-stringlist.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-stringlist.c
parent2c5e2d1085930e82ce52bf9402182a0630e8f39d (diff)
downloadmandoc-cdd9965f2080354017315270cbc3dc2da6378df9.tar.gz
modernize style: "return" is not a function
Diffstat (limited to 'test-stringlist.c')
-rw-r--r--test-stringlist.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test-stringlist.c b/test-stringlist.c
index 0cc1cd3d..c7b849e9 100644
--- a/test-stringlist.c
+++ b/test-stringlist.c
@@ -24,14 +24,14 @@ main(void)
char teststr[] = "test";
if ((sl = sl_init()) == NULL)
- return(1);
+ return 1;
if (sl_add(sl, teststr))
- return(2);
+ return 2;
if (sl->sl_cur != 1)
- return(3);
+ return 3;
if (sl->sl_str[0] != teststr)
- return(4);
+ return 4;
sl_free(sl, 0);
- return(0);
+ return 0;
}