Remove main() prototype; WARNS=2

This commit is contained in:
xtraeme 2005-01-20 16:01:02 +00:00
parent d40da986ee
commit 784c275927
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.29 2004/10/13 23:28:35 gavan Exp $
# $NetBSD: Makefile,v 1.30 2005/01/20 16:01:02 xtraeme Exp $
SUBDIR= mbr
WARNS= 2
.if (${MACHINE} == "i386" || \
${MACHINE} == "bebox" || \
${MACHINE} == "cobalt" || \

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdisk.c,v 1.87 2004/11/18 12:00:18 wiz Exp $ */
/* $NetBSD: fdisk.c,v 1.88 2005/01/20 16:01:02 xtraeme Exp $ */
/*
* Mach Operating System
@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: fdisk.c,v 1.87 2004/11/18 12:00:18 wiz Exp $");
__RCSID("$NetBSD: fdisk.c,v 1.88 2005/01/20 16:01:02 xtraeme Exp $");
#endif /* not lint */
#define MBRPTYPENAMES
@ -209,8 +209,6 @@ void set_default_boot(daddr_t);
#endif
int main(int, char *[]);
int
main(int argc, char *argv[])
{