From a743c9527f8ef86083304c6ff68eb2768cbe5e7d Mon Sep 17 00:00:00 2001 From: Alexander Ziaee Date: Wed, 4 Nov 2026 17:10:19 -0500 Subject: [PATCH] mandoc: Drop obsolete files These were removed by upstream long ago. Nothing in the tree uses them. Remove them to reduce our diff to upstream. Reviewed by: carlavilla, wosch Reported by: Ingo Schwarze Differential Revision: https://reviews.freebsd.org/D61198 --- contrib/mandoc/man-cgi.css | 13 ------------- contrib/mandoc/manpath.h | 34 ---------------------------------- contrib/mandoc/test-fgetln.c | 11 ----------- 3 files changed, 58 deletions(-) delete mode 100644 contrib/mandoc/man-cgi.css delete mode 100644 contrib/mandoc/manpath.h delete mode 100644 contrib/mandoc/test-fgetln.c diff --git a/contrib/mandoc/man-cgi.css b/contrib/mandoc/man-cgi.css deleted file mode 100644 index 256e8c6693ef..000000000000 --- a/contrib/mandoc/man-cgi.css +++ /dev/null @@ -1,13 +0,0 @@ -body { font-family: Helvetica, Arial, sans-serif; } -body > div { padding-left: 2em; - padding-top: 1em; } -body > div#mancgi { padding-left: 0em; - padding-top: 0em; } -body > div.results { font-size: smaller; } -#mancgi fieldset { text-align: center; - border: thin solid silver; - border-radius: 1em; - font-size: small; } -#mancgi input[name=expr] { width: 25%; } -.results td.title { vertical-align: top; - padding-right: 1em; } diff --git a/contrib/mandoc/manpath.h b/contrib/mandoc/manpath.h deleted file mode 100644 index 728373b2cc0b..000000000000 --- a/contrib/mandoc/manpath.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id: manpath.h,v 1.7 2014/12/01 04:05:32 schwarze Exp $ */ -/* - * Copyright (c) 2011 Ingo Schwarze - * Copyright (c) 2011 Kristaps Dzonsons - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -/* - * Unsorted list of unique, absolute paths to be searched for manual - * databases. - */ -struct manpaths { - size_t sz; - char **paths; -}; - -__BEGIN_DECLS - -void manpath_manconf(struct manpaths *, const char *); -void manpath_parse(struct manpaths *, const char *, char *, char *); -void manpath_free(struct manpaths *); - -__END_DECLS diff --git a/contrib/mandoc/test-fgetln.c b/contrib/mandoc/test-fgetln.c deleted file mode 100644 index ac225a178f35..000000000000 --- a/contrib/mandoc/test-fgetln.c +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include - -int -main(void) -{ - size_t sz; - fclose(stdin); - return(NULL != fgetln(stdin, &sz)); -}