summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-11-10 22:35:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-11-10 22:35:08 +0000
commitea6b38bf592d63e990d83512b72053ee674f2e73 (patch)
tree90b294261cceedd9282bd95f1616afc7a62c3512 /usr.bin
parentd7e2aa9bba7584545fb2783bff76ed8ad77d6f5c (diff)
c2 cannot be const as it produces all kinds of conflicts
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/apply/apply.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/apply/apply.c b/usr.bin/apply/apply.c
index 91ce1ee0494..64de2c02a37 100644
--- a/usr.bin/apply/apply.c
+++ b/usr.bin/apply/apply.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apply.c,v 1.16 2003/09/26 21:26:05 tedu Exp $ */
+/* $OpenBSD: apply.c,v 1.17 2003/11/10 22:35:07 mickey Exp $ */
/* $NetBSD: apply.c,v 1.3 1995/03/25 03:38:23 glass Exp $ */
/*-
@@ -35,9 +35,9 @@
#ifndef lint
#if 0
-static char sccsid[] = "@(#)apply.c 8.4 (Berkeley) 4/4/94";
+static const char sccsid[] = "@(#)apply.c 8.4 (Berkeley) 4/4/94";
#else
-static char rcsid[] = "$OpenBSD: apply.c,v 1.16 2003/09/26 21:26:05 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: apply.c,v 1.17 2003/11/10 22:35:07 mickey Exp $";
#endif
#endif /* not lint */
@@ -59,8 +59,7 @@ int
main(int argc, char *argv[])
{
int ch, clen, debug, i, l, magic, n, nargs, rval;
- char *c, *cmd, *p, *q;
- const char *c2;
+ char *c, *c2, *cmd, *p, *q;
size_t len;
debug = 0;