summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-09-25 19:34:02 +0000
committerphk <phk@FreeBSD.org>1994-09-25 19:34:02 +0000
commitf73f35898343587c73fd60422f7c2b15d42bae85 (patch)
tree2bdcafaa0162204e5a4853957c908b232cb276c8 /sys/kern/tty_subr.c
parent3346279530bc82ada4f70172db34ce0ddbb269bf (diff)
downloadFreeBSD-src-f73f35898343587c73fd60422f7c2b15d42bae85.zip
FreeBSD-src-f73f35898343587c73fd60422f7c2b15d42bae85.tar.gz
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.
Diffstat (limited to 'sys/kern/tty_subr.c')
-rw-r--r--sys/kern/tty_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty_subr.c b/sys/kern/tty_subr.c
index 98824d9..26f42fb 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;
OpenPOWER on IntegriCloud