minor cleanup, turn off WARNS=1

This commit is contained in:
lukem 1997-10-17 05:58:23 +00:00
parent 84d8ac7355
commit e67cc03557
3 changed files with 5 additions and 9 deletions

View File

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.3 1997/07/29 18:03:34 veego Exp $
# $NetBSD: Makefile,v 1.4 1997/10/17 05:58:23 lukem Exp $
.if ${MACHINE} == "amiga"
WARNS?= 1
PROG= grfconfig
CFLAGS+= -I${.CURDIR}/../../sys/arch -D${MACHINE}
.endif

View File

@ -1,4 +1,4 @@
.\" $NetBSD: grfconfig.8,v 1.5 1997/10/08 22:19:18 jtc Exp $
.\" $NetBSD: grfconfig.8,v 1.6 1997/10/17 05:58:26 lukem Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -53,7 +53,7 @@ as the definitions for the graphic screen. The console will automatically
reinitialize itself to the new screen mode.
.Pp
The following flags and arguments are interpreted by
.Nm grfconfig :
.Nm "" :
.Bl -tag -width indent
.It Fl r
Print out a raw listing of the mode definitions instead of the

View File

@ -1,4 +1,4 @@
/* $NetBSD: grfconfig.c,v 1.7 1997/10/08 22:19:19 jtc Exp $ */
/* $NetBSD: grfconfig.c,v 1.8 1997/10/17 05:58:29 lukem Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1997 The NetBSD Foundation, Inc.\n\
#endif /* not lint */
#ifndef lint
__RCSID("$NetBSD: grfconfig.c,v 1.7 1997/10/08 22:19:19 jtc Exp $");
__RCSID("$NetBSD: grfconfig.c,v 1.8 1997/10/17 05:58:29 lukem Exp $");
#endif /* not lint */
#include <sys/file.h>
@ -57,9 +57,6 @@ __RCSID("$NetBSD: grfconfig.c,v 1.7 1997/10/08 22:19:19 jtc Exp $");
#include <amiga/dev/grfioctl.h>
extern char *optarg;
extern int optind;
int main __P((int, char **));
static void print_rawdata __P((struct grfvideo_mode *, int));