Remove __sinit and __sdidinit.

We're eagerly initializing stdio now, so this can all be simplified.

Change-Id: Icb288f8dd0ee08f02bea0d23670f75e78bed6b99
This commit is contained in:
Elliott Hughes
2015-12-03 13:23:03 -08:00
parent 22dca83e1c
commit 4371961e00
6 changed files with 20 additions and 62 deletions

View File

@@ -51,11 +51,6 @@ lflush(FILE *fp)
int
__srefill(FILE *fp)
{
/* make sure stdio is set up */
if (!__sdidinit)
__sinit();
fp->_r = 0; /* largely a convenience for callers */
#if !defined(__ANDROID__)