summaryrefslogtreecommitdiffstats
path: root/bin/sh/output.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/output.h')
-rw-r--r--bin/sh/output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/output.h b/bin/sh/output.h
index d34c792..6bf7e2b 100644
--- a/bin/sh/output.h
+++ b/bin/sh/output.h
@@ -68,7 +68,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);
-int xwrite(int, char *, int);
+int xwrite(int, const char *, int);
#define outc(c, file) (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
#define out1c(c) outc(c, out1);
OpenPOWER on IntegriCloud