improve readability of stdio: fix indentation and remove trailing spaces
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
This commit is contained in:

committed by
Jean-Baptiste Queru

parent
1297428e89
commit
a910abcd19
@@ -50,7 +50,7 @@ int __sdidinit;
|
|||||||
/* p r w flags file _bf z cookie close read seek write
|
/* p r w flags file _bf z cookie close read seek write
|
||||||
ext */
|
ext */
|
||||||
|
|
||||||
/* the usual - (stdin + stdout + stderr) */
|
/* the usual - (stdin + stdout + stderr) */
|
||||||
static FILE usual[FOPEN_MAX - 3];
|
static FILE usual[FOPEN_MAX - 3];
|
||||||
static struct __sfileext usualext[FOPEN_MAX - 3];
|
static struct __sfileext usualext[FOPEN_MAX - 3];
|
||||||
static struct glue uglue = { 0, FOPEN_MAX - 3, usual };
|
static struct glue uglue = { 0, FOPEN_MAX - 3, usual };
|
||||||
|
@@ -42,7 +42,7 @@ putchar_unlocked(int c)
|
|||||||
{
|
{
|
||||||
FILE *so = stdout;
|
FILE *so = stdout;
|
||||||
|
|
||||||
return (putc_unlocked(c,so));
|
return (putc_unlocked(c, so));
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef putchar
|
#undef putchar
|
||||||
|
@@ -39,7 +39,6 @@
|
|||||||
static int
|
static int
|
||||||
eofread(void *cookie, char *buf, int len)
|
eofread(void *cookie, char *buf, int len)
|
||||||
{
|
{
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user