-Wall cleaning.

This commit is contained in:
steve 1996-12-14 06:16:51 +00:00
parent 1c6d77453c
commit a958416f1b
10 changed files with 26 additions and 26 deletions

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cchar.c,v 1.3 1995/04/28 19:29:28 ache Exp $
* $Id: cchar.c,v 1.4 1995/05/30 00:07:25 rgrimes Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)cchar.c 8.5 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)cchar.c 8.5 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: gfmt.c,v 1.3 1995/03/19 13:29:23 joerg Exp $
* $Id: gfmt.c,v 1.4 1995/05/30 00:07:26 rgrimes Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)gfmt.c 8.6 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)gfmt.c 8.6 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: key.c,v 1.4 1995/04/28 19:29:29 ache Exp $
* $Id: key.c,v 1.5 1996/12/07 11:07:20 bde Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)key.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)key.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
@ -192,11 +192,11 @@ f_extproc(ip)
struct info *ip;
{
if (!ip->off) {
int tmp = 1;
if (ip->off) {
int tmp = 0;
(void)ioctl(ip->fd, TIOCEXT, &tmp);
} else {
int tmp = 0;
int tmp = 1;
(void)ioctl(ip->fd, TIOCEXT, &tmp);
}
}

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: modes.c,v 1.2 1994/09/24 02:58:59 davidg Exp $
* $Id: modes.c,v 1.3 1995/04/29 15:17:17 bde Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)modes.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)modes.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: print.c,v 1.4 1995/04/29 15:17:16 bde Exp $
* $Id: print.c,v 1.5 1995/05/30 00:07:27 rgrimes Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
static char const sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: stty.c,v 1.5 1995/07/02 08:54:27 joerg Exp $
* $Id: stty.c,v 1.6 1995/07/04 08:16:30 bde Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1989, 1991, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)stty.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)stty.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: util.c,v 1.2 1994/09/24 02:59:05 davidg Exp $
* $Id: util.c,v 1.3 1995/07/04 08:16:32 bde Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: sync.c,v 1.4 1994/09/24 02:59:09 davidg Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1987, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)sync.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)sync.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <unistd.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: operators.c,v 1.3 1994/09/24 02:59:12 davidg Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)operators.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)operators.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
/*

View File

@ -33,17 +33,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: test.c,v 1.12 1995/10/28 11:54:42 ache Exp $
* $Id: test.c,v 1.13 1996/03/11 11:01:03 joerg Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)test.c 8.3 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)test.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>