X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/0376f290310249f2701221cdaaf7138fae3c6989..9712be0c6ab0aa2d1baa5449bf191e975946ebdb:/manpage.c?ds=sidebyside diff --git a/manpage.c b/manpage.c index dda6089c..882917b5 100644 --- a/manpage.c +++ b/manpage.c @@ -1,4 +1,4 @@ -/* $Id: manpage.c,v 1.11 2015/03/27 17:37:25 schwarze Exp $ */ +/* $Id: manpage.c,v 1.12 2015/10/06 18:32:19 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons * Copyright (c) 2013 Ingo Schwarze @@ -99,12 +99,12 @@ main(int argc, char *argv[]) if (0 == sz) { free(res); - return(EXIT_FAILURE); + return EXIT_FAILURE; } else if (1 == sz && term) { i = 1; goto show; } else if (NULL == res) - return(EXIT_FAILURE); + return EXIT_FAILURE; for (i = 0; i < sz; i++) { printf("%6zu %s: %s\n", @@ -117,7 +117,7 @@ main(int argc, char *argv[]) for (i = 0; i < sz; i++) free(res[i].file); free(res); - return(EXIT_SUCCESS); + return EXIT_SUCCESS; } i = 1; @@ -135,7 +135,7 @@ main(int argc, char *argv[]) for (i = 0; i < sz; i++) free(res[i].file); free(res); - return(EXIT_SUCCESS); + return EXIT_SUCCESS; } show: cmd = res[i - 1].form ? "mandoc" : "cat"; @@ -154,7 +154,7 @@ usage: "[-s section] " "expr ...\n", progname); - return(EXIT_FAILURE); + return EXIT_FAILURE; } static void