Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/puffs Avoid using register_t in <fs/puffs/puffs_msgif.h>



details:   https://anonhg.NetBSD.org/src/rev/5d4b158fa4f7
branches:  trunk
changeset: 1026615:5d4b158fa4f7
user:      pho <pho%NetBSD.org@localhost>
date:      Fri Dec 03 13:08:10 2021 +0000

description:
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.

diffstat:

 sys/fs/puffs/puffs_msgif.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 70c1f519d328 -r 5d4b158fa4f7 sys/fs/puffs/puffs_msgif.h
--- a/sys/fs/puffs/puffs_msgif.h        Fri Dec 03 10:54:19 2021 +0000
+++ b/sys/fs/puffs/puffs_msgif.h        Fri Dec 03 13:08:10 2021 +0000
@@ -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_req        pvn_pr;
 
        int                     pvnr_name;              /* OUT  */
-       register_t              pvnr_retval;            /* IN   */
+       __register_t            pvnr_retval;            /* IN   */
 };
 
 struct puffs_vnmsg_advlock {



Home | Main Index | Thread Index | Old Index