summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/dvi/mdvi-lib/dviread.c5
-rw-r--r--backend/dvi/mdvi-lib/fontsrch.c1
-rw-r--r--backend/dvi/mdvi-lib/gf.c2
-rw-r--r--backend/dvi/mdvi-lib/pk.c1
-rw-r--r--backend/dvi/mdvi-lib/sp-epsf.c1
-rw-r--r--backend/dvi/mdvi-lib/special.c2
-rw-r--r--backend/dvi/mdvi-lib/tfm.c3
7 files changed, 0 insertions, 15 deletions
diff --git a/backend/dvi/mdvi-lib/dviread.c b/backend/dvi/mdvi-lib/dviread.c
index 66995d71..44005117 100644
--- a/backend/dvi/mdvi-lib/dviread.c
+++ b/backend/dvi/mdvi-lib/dviread.c
@@ -307,13 +307,8 @@ static void dreset(DviContext *dvi)
dvi->buffer.pos = 0;
}
-#define dsget1(d) dsgetn((d), 1)
-#define dsget2(d) dsgetn((d), 2)
-#define dsget3(d) dsgetn((d), 3)
#define dsget4(d) dsgetn((d), 4)
#define duget1(d) dugetn((d), 1)
-#define duget2(d) dugetn((d), 2)
-#define duget3(d) dugetn((d), 3)
#define duget4(d) dugetn((d), 4)
#ifndef NODEBUG
diff --git a/backend/dvi/mdvi-lib/fontsrch.c b/backend/dvi/mdvi-lib/fontsrch.c
index 77cd8704..af7e0263 100644
--- a/backend/dvi/mdvi-lib/fontsrch.c
+++ b/backend/dvi/mdvi-lib/fontsrch.c
@@ -50,7 +50,6 @@
#include <config.h>
#include "mdvi.h"
-#define HAVE_PROTOTYPES 1
#include <kpathsea/tex-file.h>
#include <kpathsea/tex-glyph.h>
diff --git a/backend/dvi/mdvi-lib/gf.c b/backend/dvi/mdvi-lib/gf.c
index d890e156..b010285e 100644
--- a/backend/dvi/mdvi-lib/gf.c
+++ b/backend/dvi/mdvi-lib/gf.c
@@ -29,7 +29,6 @@
#define GF_PAINT0 0
#define GF_PAINT1 64
-#define GF_PAINT2 65
#define GF_PAINT3 66
#define GF_BOC 67
#define GF_BOC1 68
@@ -39,7 +38,6 @@
#define GF_SKIP2 72
#define GF_SKIP3 73
#define GF_NEW_ROW_0 74
-#define GF_NEW_ROW_1 75
#define GF_NEW_ROW_MAX 238
#define GF_XXX1 239
#define GF_XXX2 240
diff --git a/backend/dvi/mdvi-lib/pk.c b/backend/dvi/mdvi-lib/pk.c
index 5e8da5bb..52b243bf 100644
--- a/backend/dvi/mdvi-lib/pk.c
+++ b/backend/dvi/mdvi-lib/pk.c
@@ -50,7 +50,6 @@
#define PK_PRE 247
#define PK_DYN_F(x) (((x) >> 4) & 0xf)
-#define PK_PACKED(x) (PK_DYN_F(x) != 14)
static int pk_load_font __PROTO((DviParams *, DviFont *));
static int pk_font_get_glyph __PROTO((DviParams *, DviFont *, int));
diff --git a/backend/dvi/mdvi-lib/sp-epsf.c b/backend/dvi/mdvi-lib/sp-epsf.c
index 104c955b..d9a73575 100644
--- a/backend/dvi/mdvi-lib/sp-epsf.c
+++ b/backend/dvi/mdvi-lib/sp-epsf.c
@@ -48,7 +48,6 @@ typedef struct {
#define HSCALE 10
#define VSCALE 11
#define ANGLE 12
-#define CLIP 13
void epsf_special __PROTO((DviContext *dvi, char *prefix, char *arg));
diff --git a/backend/dvi/mdvi-lib/special.c b/backend/dvi/mdvi-lib/special.c
index e1f1a618..64a1647b 100644
--- a/backend/dvi/mdvi-lib/special.c
+++ b/backend/dvi/mdvi-lib/special.c
@@ -151,8 +151,6 @@ int mdvi_unregister_special(const char *prefix)
return 0;
}
-#define IS_PREFIX_DELIMITER(x) (strchr(" \t\n:=", (x)) != NULL)
-
int mdvi_do_special(DviContext *dvi, char *string)
{
char *prefix;
diff --git a/backend/dvi/mdvi-lib/tfm.c b/backend/dvi/mdvi-lib/tfm.c
index f87140d2..59da4705 100644
--- a/backend/dvi/mdvi-lib/tfm.c
+++ b/backend/dvi/mdvi-lib/tfm.c
@@ -71,9 +71,6 @@ DviFontInfo afm_font_info = {
NULL
};
-#define TYPENAME(font) \
- ((font)->search.info ? (font)->search.info : "none")
-
/*
* Although it does not seem that way, this conversion is independent of the
* shrinking factors, within roundoff (that's because `conv' and `vconv'