commit 5a214f931f1b5575e3cf4b037179eb5f665028c1
parent 72c58ae8b2b8d5185449c120fd0844be1933a899
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Sat, 23 May 2020 13:14:35 +0200
remove unused substdio_bget()
Spotted by Qualsys during their audit.
Diffstat:
2 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/substdi.c b/substdi.c
@@ -50,19 +50,6 @@ register substdio *s;
return r;
}
-int substdio_bget(s,buf,len)
-register substdio *s;
-register char *buf;
-register int len;
-{
- register int r;
-
- if (s->p > 0) return getthis(s,buf,len);
- r = s->n; if (r <= len) return oneread(s->op,s->fd,buf,r);
- r = substdio_feed(s); if (r <= 0) return r;
- return getthis(s,buf,len);
-}
-
int substdio_get(s,buf,len)
register substdio *s;
register char *buf;
diff --git a/substdio.h b/substdio.h
@@ -22,7 +22,6 @@ extern int substdio_bputs();
extern int substdio_putsflush();
extern int substdio_get();
-extern int substdio_bget();
extern int substdio_feed();
extern char *substdio_peek();