summaryrefslogtreecommitdiff
path: root/sys/src/cmd/proof/htroff.c
diff options
context:
space:
mode:
authorftrvxmtrx <ftrvxmtrx@gmail.com>2016-11-17 02:59:40 +0100
committerftrvxmtrx <ftrvxmtrx@gmail.com>2016-11-17 02:59:40 +0100
commit0930f44febd25c27fb717e7323686e50c4fa0593 (patch)
tree397b0b732b628164fb078bdbe011a6ae453452a2 /sys/src/cmd/proof/htroff.c
parentc0d0f86b14593bbf608284b96920558756a69304 (diff)
cmd: remove a bit of unused stuff
Diffstat (limited to 'sys/src/cmd/proof/htroff.c')
-rw-r--r--sys/src/cmd/proof/htroff.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/src/cmd/proof/htroff.c b/sys/src/cmd/proof/htroff.c
index b7bdec0ed..ce7577f51 100644
--- a/sys/src/cmd/proof/htroff.c
+++ b/sys/src/cmd/proof/htroff.c
@@ -44,7 +44,6 @@ static void eatline(void);
static int getn(void);
static int botpage(int);
static void getstr(char *);
-static void getutf(char *);
#define Do screen->r.min
#define Dc screen->r.max
@@ -453,24 +452,6 @@ getstr(char *is)
}
static void
-getutf(char *s) /* get next utf char, as bytes */
-{
- int c, i;
-
- for (i=0;;) {
- c = getc();
- if (c < 0)
- return;
- s[i++] = c;
-
- if (fullrune(s, i)) {
- s[i] = 0;
- return;
- }
- }
-}
-
-static void
eatline(void)
{
int c;