summaryrefslogtreecommitdiff
path: root/contrib/groff/src
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-07-10 17:10:51 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-07-10 17:10:51 +0000
commit75fdaafb19887d643a8ece0d684fd4b76ace7264 (patch)
tree37668264f55a3d91ff2def01b6ded7f65ab04fae /contrib/groff/src
parent5ecb0ad24ff062000e7bae1c5681a97f6d37025c (diff)
downloadsrc-test2-75fdaafb19887d643a8ece0d684fd4b76ace7264.tar.gz
src-test2-75fdaafb19887d643a8ece0d684fd4b76ace7264.zip
Notes
Diffstat (limited to 'contrib/groff/src')
-rw-r--r--contrib/groff/src/devices/grohtml/html-chars.h27
-rw-r--r--contrib/groff/src/utils/indxbib/dirnamemax.c49
2 files changed, 0 insertions, 76 deletions
diff --git a/contrib/groff/src/devices/grohtml/html-chars.h b/contrib/groff/src/devices/grohtml/html-chars.h
deleted file mode 100644
index f58f8dcc20a8..000000000000
--- a/contrib/groff/src/devices/grohtml/html-chars.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// -*- C++ -*-
-/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
- *
- * Gaius Mulley (gaius@glam.ac.uk) wrote output.cc
- * but it owes a huge amount of ideas and raw code from
- * James Clark (jjc@jclark.com) grops/ps.cc.
- *
- * html-chars.h
- *
- * provides a diacritical character combination table for html
- */
-
-
-
-struct diacritical_desc {
- char *mark;
- char *second_troff_char;
- char translation;
-};
-
-
-static struct diacritical_desc diacritical_table[] = {
- { "ad" , "aeiouyAEIOU" , ':' , }, /* */
- { "ac" , "cC" , ',' , }, /* cedilla */
- { "aa" , "aeiouyAEIOU" , '\'' , }, /* acute */
- { NULL , NULL , (char)0, },
-};
diff --git a/contrib/groff/src/utils/indxbib/dirnamemax.c b/contrib/groff/src/utils/indxbib/dirnamemax.c
deleted file mode 100644
index a8cd9923c469..000000000000
--- a/contrib/groff/src/utils/indxbib/dirnamemax.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* dir_name_max(dir) does the same as pathconf(dir, _PC_NAME_MAX) */
-
-#include <sys/types.h>
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif /* HAVE_UNISTD_H */
-
-#ifdef _POSIX_VERSION
-
-long dir_name_max(dir)
- char *dir;
-{
- return pathconf(dir, _PC_NAME_MAX);
-}
-
-#else /* not _POSIX_VERSION */
-
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif /* HAVE_LIMITS_H */
-
-#ifdef HAVE_DIRENT_H
-#include <dirent.h>
-#else /* not HAVE_DIRENT_H */
-#ifdef HAVE_SYS_DIR_H
-#include <sys/dir.h>
-#endif /* HAVE_SYS_DIR_H */
-#endif /* not HAVE_DIRENT_H */
-
-#ifndef NAME_MAX
-#ifdef MAXNAMLEN
-#define NAME_MAX MAXNAMLEN
-#else /* !MAXNAMLEN */
-#ifdef MAXNAMELEN
-#define NAME_MAX MAXNAMELEN
-#else /* !MAXNAMELEN */
-#define NAME_MAX 14
-#endif /* !MAXNAMELEN */
-#endif /* !MAXNAMLEN */
-#endif /* !NAME_MAX */
-
-long dir_name_max(dir)
- char *dir;
-{
- return NAME_MAX;
-}
-
-#endif /* not _POSIX_VERSION */