mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
change f_data field in struct file from caddr_t to void *.
This commit is contained in:
parent
55f0377c44
commit
b555662c63
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98991
|
@ -99,7 +99,7 @@ struct file {
|
|||
* offset of next expected read or write
|
||||
*/
|
||||
off_t f_offset;
|
||||
caddr_t f_data; /* vnode or socket */
|
||||
void *f_data; /* vnode or socket */
|
||||
u_int f_flag; /* see fcntl.h */
|
||||
struct mtx *f_mtxp; /* mutex to protect data */
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue