From 58eaf2c22189e6cd823eb6eb3afe2e52a2599482 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 25 Aug 2014 19:50:23 -0500 Subject: [PATCH] Removed msh relics from scansbr.c, including a global. --- uip/scansbr.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/uip/scansbr.c b/uip/scansbr.c index 97df2c3a..60acec90 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -35,7 +35,7 @@ static struct comp **used_buf = 0; /* stack for comp that use buffers */ static int dat[5]; /* aux. data for format routine */ -m_getfld_state_t gstate; /* for access by msh */ +static m_getfld_state_t gstate; /* for accessor functions below */ #define DIEWRERR() adios (scnmsg, "write error on") @@ -371,7 +371,7 @@ mh_fputs(char *s, FILE *stream) return (0); } -/* The following three functions allow access to the global gstate above. */ +/* The following two functions allow access to the global gstate above. */ void scan_finished () { m_getfld_state_destroy (&gstate); @@ -381,8 +381,3 @@ void scan_detect_mbox_style (FILE *f) { m_unknown (&gstate, f); } - -void -scan_reset_m_getfld_state () { - m_getfld_state_reset (&gstate); -} -- 2.56.0