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:
parent
68727e364e
commit
83a44e0389
|
@ -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.
|
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
#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
|
#endif
|
||||||
|
|
||||||
#include <sys/param.h>
|
#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 <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
int opendisk __P((const char *, int, char *, size_t, int));
|
||||||
|
|
||||||
int
|
int
|
||||||
opendisk(path, flags, buf, buflen, iscooked)
|
opendisk(path, flags, buf, buflen, iscooked)
|
||||||
|
|
Loading…
Reference in New Issue