artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fad3b8
)
Forward declare 'struct file' so that libkvm and others that indirectly pull
author
guenther
<guenther@openbsd.org>
Sun, 18 Jan 2015 20:35:44 +0000
(20:35 +0000)
committer
guenther
<guenther@openbsd.org>
Sun, 18 Jan 2015 20:35:44 +0000
(20:35 +0000)
in sys/uio.h with _KERNEL defined don't warn.
ok deraadt@
sys/sys/uio.h
patch
|
blob
|
history
diff --git
a/sys/sys/uio.h
b/sys/sys/uio.h
index
c0aadca
..
c7282f2
100644
(file)
--- a/
sys/sys/uio.h
+++ b/
sys/sys/uio.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: uio.h,v 1.1
7 2013/04/02 21:32:06 kettenis
Exp $ */
+/* $OpenBSD: uio.h,v 1.1
8 2015/01/18 20:35:44 guenther
Exp $ */
/* $NetBSD: uio.h,v 1.12 1996/02/09 18:25:45 christos Exp $ */
/*
@@
-96,6
+96,7
@@
__END_DECLS
#else
int ureadc(int c, struct uio *);
+struct file;
int dofilereadv(struct proc *, int, struct file *,
const struct iovec *, int, int, off_t *, register_t *);
int dofilewritev(struct proc *, int, struct file *,