mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 11:34:50 +08:00
33b5cd6866
The routines in start.c are only ever called from nonstdio.c, so if we move them in there they can become static which is nice. I suspect the idea behind the separation was that start.c could be replaced in order to build xmon in userland. If anyone still cares about doing that we could handle that with an ifdef or two. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
10 lines
225 B
C
10 lines
225 B
C
#define EOF (-1)
|
|
|
|
#define printf xmon_printf
|
|
#define putchar xmon_putchar
|
|
|
|
extern int xmon_putchar(int c);
|
|
extern void xmon_puts(const char *);
|
|
extern char *xmon_gets(char *, int);
|
|
extern void xmon_printf(const char *, ...);
|