diff options
author | 2003-08-06 20:51:35 +0000 | |
---|---|---|
committer | 2003-08-06 20:51:35 +0000 | |
commit | 0f831fc54da72a20eb65b8ce4320ecb249737c3e (patch) | |
tree | 371727b4855b6df6a5bb91bd26dd15c23ce07cc7 | |
parent | Plug some memory leaks; from Patrick Latifi (diff) | |
download | wireguard-openbsd-0f831fc54da72a20eb65b8ce4320ecb249737c3e.tar.xz wireguard-openbsd-0f831fc54da72a20eb65b8ce4320ecb249737c3e.zip |
must pre-def struct file before circular structs
-rw-r--r-- | sys/sys/file.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h index 6ab14a6b7ff..5f8fdd65e4b 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -1,4 +1,4 @@ -/* $OpenBSD: file.h,v 1.21 2003/08/01 22:54:06 tedu Exp $ */ +/* $OpenBSD: file.h,v 1.22 2003/08/06 20:51:35 deraadt Exp $ */ /* $NetBSD: file.h,v 1.11 1995/03/26 20:24:13 jtc Exp $ */ /* @@ -42,6 +42,7 @@ struct proc; struct uio; struct knote; struct stat; +struct file; struct fileops { int (*fo_read)(struct file *, off_t *, struct uio *, |