summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorassar <assar@cvs.openbsd.org>2000-02-09 10:29:57 +0000
committerassar <assar@cvs.openbsd.org>2000-02-09 10:29:57 +0000
commitbda7fc244f7f58144e936255eb63bd4d3098894f (patch)
tree434361773fa76410c45f656fff44a34e26a7e03b
parent5e60d1c7d267e2d95330c8ed69faaf8effb0d089 (diff)
add forward declaration of `struct stat' (needed by fhstat
prototype). From "Todd C. Miller" <Todd.Miller@courtesan.com>
-rw-r--r--sys/sys/mount.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 48a605c9e25..82402282fce 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount.h,v 1.33 2000/02/07 04:52:11 assar Exp $ */
+/* $OpenBSD: mount.h,v 1.34 2000/02/09 10:29:56 assar Exp $ */
/* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */
/*
@@ -558,6 +558,10 @@ int vfs_unregister __P((struct vfsconf *));
#include <sys/cdefs.h>
+#ifndef _SYS_STAT_H_
+struct stat;
+#endif
+
__BEGIN_DECLS
int fstatfs __P((int, struct statfs *));
int getfh __P((const char *, fhandle_t *));