Remove main() prototype; WARNS=2
This commit is contained in:
parent
d40da986ee
commit
784c275927
|
@ -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
|
SUBDIR= mbr
|
||||||
|
|
||||||
|
WARNS= 2
|
||||||
|
|
||||||
.if (${MACHINE} == "i386" || \
|
.if (${MACHINE} == "i386" || \
|
||||||
${MACHINE} == "bebox" || \
|
${MACHINE} == "bebox" || \
|
||||||
${MACHINE} == "cobalt" || \
|
${MACHINE} == "cobalt" || \
|
||||||
|
|
|
@ -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
|
* Mach Operating System
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
#ifndef lint
|
#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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#define MBRPTYPENAMES
|
#define MBRPTYPENAMES
|
||||||
|
@ -209,8 +209,6 @@ void set_default_boot(daddr_t);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
int main(int, char *[]);
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue