add const qualifier to get rid of compilation warnings.

This commit is contained in:
jtc 1994-05-12 16:31:44 +00:00
parent 991bf8b09e
commit db2b1de8d3
2 changed files with 6 additions and 6 deletions

View File

@ -115,7 +115,7 @@ open_mem(block, length, file)
void
out1str(p)
char *p;
const char *p;
{
outstr(p, out1);
}
@ -123,7 +123,7 @@ out1str(p)
void
out2str(p)
char *p;
const char *p;
{
outstr(p, out2);
}
@ -131,7 +131,7 @@ out2str(p)
void
outstr(p, file)
register char *p;
const register char *p;
register struct output *file;
{
while (*p)

View File

@ -55,9 +55,9 @@ extern struct output *out2;
#ifdef __STDC__
void outstr(char *, struct output *);
void out1str(char *);
void out2str(char *);
void outstr(const char *, struct output *);
void out1str(const char *);
void out2str(const char *);
void outfmt(struct output *, char *, ...);
void out1fmt(char *, ...);
void fmtstr(char *, int, char *, ...);