diff options
author | Archie Cobbs <archie@FreeBSD.org> | 1998-12-06 22:58:23 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 1998-12-06 22:58:23 +0000 |
commit | fa146c53357ea20afd3661d8093ea1db44198d5f (patch) | |
tree | a75604be1743b2dbb3ae09ab3f3275f9f1d33d75 /usr.bin/comm/comm.c | |
parent | 872963ff956b81ce07e442531158371f50388eb4 (diff) |
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
Notes
Notes:
svn path=/head/; revision=41568
Diffstat (limited to 'usr.bin/comm/comm.c')
-rw-r--r-- | usr.bin/comm/comm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index debbb0b6f6d0..70e7c0d01616 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -35,7 +35,7 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1989, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ @@ -45,7 +45,7 @@ static char copyright[] = static char sccsid[] = "From: @(#)comm.c 8.4 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: comm.c,v 1.4 1997/09/07 15:09:17 joerg Exp $"; #endif /* not lint */ #include <err.h> @@ -69,7 +69,7 @@ main(argc, argv) int argc; char *argv[]; { - int comp, file1done, file2done, read1, read2; + int comp, file1done = 0, file2done = 0, read1, read2; int ch, flag1, flag2, flag3, iflag; FILE *fp1, *fp2; char *col1, *col2, *col3; |