Fix previous correctly. The "quiet" variable was not local.
Instead, the problem was declarations which followed a non-declaration statement, which gcc 2.95 doesn't like, so reshuffle the order.
This commit is contained in:
parent
afd482bb6b
commit
ce943c094b
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: chat.c,v 1.7 2006/03/23 19:25:09 he Exp $ */
|
||||
/* $NetBSD: chat.c,v 1.8 2006/03/25 21:56:29 he Exp $ */
|
||||
|
||||
/*
|
||||
* Chat -- a program for automatic session establishment (i.e. dial
|
||||
|
@ -93,7 +93,7 @@
|
|||
#if 0
|
||||
static const char rcsid[] = "Id: chat.c,v 1.30 2004/01/17 05:47:55 carlsonj Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: chat.c,v 1.7 2006/03/23 19:25:09 he Exp $");
|
||||
__RCSID("$NetBSD: chat.c,v 1.8 2006/03/25 21:56:29 he Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -1295,8 +1295,9 @@ int c;
|
|||
int put_string (s)
|
||||
register char *s;
|
||||
{
|
||||
int quiet = 0;
|
||||
char *ss;
|
||||
|
||||
quiet = 0;
|
||||
s = ss = clean(s, 1);
|
||||
|
||||
if (verbose) {
|
||||
|
|
Loading…
Reference in New Issue