diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 2002-05-07 06:56:51 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 2002-05-07 06:56:51 +0000 |
commit | 5fcb27f03fdf210a89994f91add3c1031058f932 (patch) | |
tree | 373dd6e0679b53863a5fc8ae3b922ebcc438f4f3 /usr.bin/tip/tip.c | |
parent | 15698012b155ed03b2a424a53e8320d8b9eaae6c (diff) |
Carefully applied -Wall fixups from <panda@omatis.com>.
Also a little KNF.
Diffstat (limited to 'usr.bin/tip/tip.c')
-rw-r--r-- | usr.bin/tip/tip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tip/tip.c b/usr.bin/tip/tip.c index c96ab26376f..dddf296f320 100644 --- a/usr.bin/tip/tip.c +++ b/usr.bin/tip/tip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tip.c,v 1.17 2002/03/25 16:41:36 deraadt Exp $ */ +/* $OpenBSD: tip.c,v 1.18 2002/05/07 06:56:50 hugh Exp $ */ /* $NetBSD: tip.c,v 1.13 1997/04/20 00:03:05 mellon Exp $ */ /* @@ -35,7 +35,7 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1983, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: tip.c,v 1.17 2002/03/25 16:41:36 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: tip.c,v 1.18 2002/05/07 06:56:50 hugh Exp $"; #endif /* not lint */ /* @@ -631,5 +631,5 @@ setparity(defparity) (void) fflush(stderr); } for (i = 0; i < 0200; i++) - partab[i] = (evenpartab[i] ^ flip | set) & clr; + partab[i] = ((evenpartab[i] ^ flip) | set) & clr; } |