From 6bebb4822dea927ef74d531c44841a595c6b22be Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 30 Sep 1997 16:54:31 +0000 Subject: [PATCH] Add a prototype for opendisk(). --- sbin/disklabel/disklabel.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index 5bb1f7fac3e4..2f42cff67a78 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.c,v 1.42 1997/09/25 05:13:02 lukem Exp $ */ +/* $NetBSD: disklabel.c,v 1.43 1997/09/30 16:54:31 phil Exp $ */ /* * Copyright (c) 1987, 1993 @@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\n\ static char sccsid[] = "@(#)disklabel.c 8.4 (Berkeley) 5/4/95"; /* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */ #else -__RCSID("$NetBSD: disklabel.c,v 1.42 1997/09/25 05:13:02 lukem Exp $"); +__RCSID("$NetBSD: disklabel.c,v 1.43 1997/09/30 16:54:31 phil Exp $"); #endif #endif /* not lint */ @@ -139,6 +139,8 @@ static struct dos_partition *dosdp; /* i386 DOS partition, if found */ static struct dos_partition *readmbr __P((int)); #endif +int opendisk __P((const char *, int, char *, size_t, int)); + int main __P((int, char *[])); static void makedisktab __P((FILE *, struct disklabel *));