=================================================================== RCS file: /cvs/mandoc/test-stringlist.c,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- mandoc/test-stringlist.c 2015/05/20 22:22:59 1.1 +++ mandoc/test-stringlist.c 2018/08/15 02:48:51 1.3 @@ -1,4 +1,4 @@ -/* $Id: test-stringlist.c,v 1.1 2015/05/20 22:22:59 schwarze Exp $ */ +/* $Id: test-stringlist.c,v 1.3 2018/08/15 02:48:51 schwarze Exp $ */ /* * Copyright (c) 2015 Ingo Schwarze * @@ -15,6 +15,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include #include int @@ -24,14 +25,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; }