diff options
| author | dholland <dholland@NetBSD.org> | 2009-08-13 03:50:02 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-08-13 03:50:02 +0000 |
| commit | 72efe4fb6fcd28313f8264275b6e4789d9a1089e (patch) | |
| tree | 64d03669308a9f059d98f3a0e4663d44a2240892 /usr.bin/error/input.c | |
| parent | a15cb55d9e5048707875f95603da13b8741d32d2 (diff) | |
Sprinkle const.
Diffstat (limited to 'usr.bin/error/input.c')
| -rw-r--r-- | usr.bin/error/input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/error/input.c b/usr.bin/error/input.c index 2e5af7bcf4a..5731801bb84 100644 --- a/usr.bin/error/input.c +++ b/usr.bin/error/input.c @@ -1,4 +1,4 @@ -/* $NetBSD: input.c,v 1.13 2009/08/13 03:07:49 dholland Exp $ */ +/* $NetBSD: input.c,v 1.14 2009/08/13 03:50:02 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)input.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: input.c,v 1.13 2009/08/13 03:07:49 dholland Exp $"); +__RCSID("$NetBSD: input.c,v 1.14 2009/08/13 03:50:02 dholland Exp $"); #endif /* not lint */ #include <stdio.h> @@ -70,7 +70,7 @@ eaterrors(int *r_errorc, Eptr **r_errorv) { Errorclass errorclass = C_SYNC; char *line; - char *inbuffer; + const char *inbuffer; size_t inbuflen; for (;;) { @@ -121,7 +121,7 @@ erroradd(int errorlength, char **errorv, Errorclass errorclass, Errorclass errorsubclass) { Eptr newerror; - char *cp; + const char *cp; if (errorclass == C_TRUE) { /* check canonicalization of the second argument*/ |
