Rename __sfmoreglue() in sfmoreglue() and make it static. This function is
only used by __sfp() in the same translation unit.
Remove use of register keyword.
FILE file;
};
-struct _glue *
-__sfmoreglue (struct _reent *d,
- register int n)
+static struct _glue *
+sfmoreglue (struct _reent *d, int n)
{
struct glue_with_file *g;
if (fp->_flags == 0)
goto found;
if (g->_next == NULL &&
- (g->_next = __sfmoreglue (d, NDYNAMIC)) == NULL)
+ (g->_next = sfmoreglue (d, NDYNAMIC)) == NULL)
break;
}
_newlib_sfp_lock_exit ();
extern void __smakebuf_r (struct _reent *, FILE *);
extern int __swhatbuf_r (struct _reent *, FILE *, size_t *, int *);
extern int _fwalk_reent (struct _reent *, int (*)(struct _reent *, FILE *));
-struct _glue * __sfmoreglue (struct _reent *,int n);
extern int __submore (struct _reent *, FILE *);
#ifdef __LARGE64_FILES