diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1994-09-25 19:34:02 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1994-09-25 19:34:02 +0000 |
commit | bb56ec4a05a1131388e557b919e6ee6b2d0626c9 (patch) | |
tree | 2bdcafaa0162204e5a4853957c908b232cb276c8 /sys/kern/tty_subr.c | |
parent | 9a89db44b80b1ad690e45dc24b5b9630b314f697 (diff) | |
download | src-bb56ec4a05a1131388e557b919e6ee6b2d0626c9.tar.gz src-bb56ec4a05a1131388e557b919e6ee6b2d0626c9.zip |
While in the real world, I had a bad case of being swapped out for a lot of
cycles. While waiting there I added a lot of the extra ()'s I have, (I have
never used LISP to any extent). So I compiled the kernel with -Wall and
shut up a lot of "suggest you add ()'s", removed a bunch of unused var's
and added a couple of declarations here and there. Having a lap-top is
highly recommended. My kernel still runs, yell at me if you kernel breaks.
Notes
Notes:
svn path=/head/; revision=3098
Diffstat (limited to 'sys/kern/tty_subr.c')
-rw-r--r-- | sys/kern/tty_subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty_subr.c b/sys/kern/tty_subr.c index 98824d9948da..26f42fbccdbe 100644 --- a/sys/kern/tty_subr.c +++ b/sys/kern/tty_subr.c @@ -6,7 +6,7 @@ * of this software, nor does the author assume any responsibility * for damages incurred with its use. * - * $Id: tty_subr.c,v 1.5 1994/08/02 07:42:53 davidg Exp $ + * $Id: tty_subr.c,v 1.6 1994/09/13 16:02:20 davidg Exp $ */ /* @@ -274,7 +274,7 @@ putc(chr, clistp) int chr; struct clist *clistp; { - struct cblock *cblockp, *bclockn; + struct cblock *cblockp; int s; s = spltty(); @@ -329,7 +329,7 @@ b_to_q(src, amount, clistp) int amount; struct clist *clistp; { - struct cblock *cblockp, *bclockn; + struct cblock *cblockp; char *firstbyte, *lastbyte; u_char startmask, endmask; int startbit, endbit, num_between, numc; |