diff options
Diffstat (limited to 'bin/sh/output.h')
-rw-r--r-- | bin/sh/output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/output.h b/bin/sh/output.h index 25b01a5896e7..62f006d32a36 100644 --- a/bin/sh/output.h +++ b/bin/sh/output.h @@ -39,6 +39,7 @@ #include <stdarg.h> #include <stddef.h> +#include <stdio.h> struct output { char *nextc; @@ -75,6 +76,7 @@ void out1fmt(const char *, ...) __printflike(1, 2); void out2fmt_flush(const char *, ...) __printflike(1, 2); void fmtstr(char *, int, const char *, ...) __printflike(3, 4); void doformat(struct output *, const char *, va_list) __printflike(2, 0); +FILE *out1fp(void); int xwrite(int, const char *, int); #define outc(c, file) ((file)->nextc == (file)->bufend ? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c))) |