git: a743c9527f8e - main - mandoc: Drop obsolete files

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Wed, 04 Nov 2026 22:10:40 UTC
The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=a743c9527f8ef86083304c6ff68eb2768cbe5e7d

commit a743c9527f8ef86083304c6ff68eb2768cbe5e7d
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-11-04 22:10:19 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-11-04 22:10:24 +0000

    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 <schwarze@openbsd.org>
    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(-)

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 <schwarze@openbsd.org>
- * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
- *
- * 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 <sys/types.h>
-#include <stdio.h>
-#include <unistd.h>
-
-int
-main(void)
-{
-	size_t sz;
-	fclose(stdin);
-	return(NULL != fgetln(stdin, &sz));
-}