Add a prototype for opendisk so it will compile. (Should we have

a libutil.h for collecting all these prototypes?)
This commit is contained in:
phil 1997-09-30 16:53:12 +00:00
parent 68727e364e
commit 83a44e0389

View File

@ -1,4 +1,4 @@
/* $NetBSD: opendisk.c,v 1.2 1997/09/29 06:08:45 lukem Exp $ */
/* $NetBSD: opendisk.c,v 1.3 1997/09/30 16:53:12 phil Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: opendisk.c,v 1.2 1997/09/29 06:08:45 lukem Exp $");
__RCSID("$NetBSD: opendisk.c,v 1.3 1997/09/30 16:53:12 phil Exp $");
#endif
#include <sys/param.h>
@ -50,6 +50,7 @@ __RCSID("$NetBSD: opendisk.c,v 1.2 1997/09/29 06:08:45 lukem Exp $");
#include <stdio.h>
#include <string.h>
int opendisk __P((const char *, int, char *, size_t, int));
int
opendisk(path, flags, buf, buflen, iscooked)