Avoid using register_t in <fs/puffs/puffs_msgif.h>
The purpose of this header file is to interface between the kernel-space and user-space, and is #include'd by a user-space header <puffs.h>. It should therefore not use any of kernel-only types, as it's not reasonable to require user-land filesystems to #define _KERNTYPES.
This commit is contained in:
parent
04c72b6177
commit
474e653866
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: puffs_msgif.h,v 1.86 2021/03/08 17:34:30 christos Exp $ */
|
||||
/* $NetBSD: puffs_msgif.h,v 1.87 2021/12/03 13:08:10 pho Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved.
|
||||
|
@ -705,7 +705,7 @@ struct puffs_vnmsg_pathconf {
|
|||
struct puffs_req pvn_pr;
|
||||
|
||||
int pvnr_name; /* OUT */
|
||||
register_t pvnr_retval; /* IN */
|
||||
__register_t pvnr_retval; /* IN */
|
||||
};
|
||||
|
||||
struct puffs_vnmsg_advlock {
|
||||
|
|
Loading…
Reference in New Issue