Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs remove accmode_t typedef (not needed, breaks llv...



details:   https://anonhg.NetBSD.org/src/rev/1701e0bd1272
branches:  trunk
changeset: 933164:1701e0bd1272
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 20 13:16:30 2020 +0000

description:
remove accmode_t typedef (not needed, breaks llvm) from maxv@

diffstat:

 sys/ufs/ffs/ffs_extattr.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r ce61e8b86580 -r 1701e0bd1272 sys/ufs/ffs/ffs_extattr.c
--- a/sys/ufs/ffs/ffs_extattr.c Wed May 20 12:47:36 2020 +0000
+++ b/sys/ufs/ffs/ffs_extattr.c Wed May 20 13:16:30 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_extattr.c,v 1.5 2020/05/16 18:31:53 christos Exp $ */
+/*     $NetBSD: ffs_extattr.c,v 1.6 2020/05/20 13:16:30 christos Exp $ */
 
 /*-
  * SPDX-License-Identifier: (BSD-2-Clause-FreeBSD AND BSD-3-Clause)
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_extattr.c,v 1.5 2020/05/16 18:31:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_extattr.c,v 1.6 2020/05/20 13:16:30 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -121,7 +121,6 @@
 #define        lblkno(fs, o)           ffs_lblkno(fs, o)
 #define        blkoff(fs, o)           ffs_blkoff(fs, o)
 #define        sblksize(fs, o, lbn)    ffs_sblksize(fs, o, lbn)
-typedef mode_t accmode_t;      /* so that it breaks soon */
 typedef daddr_t ufs_lbn_t;
 #define msleep(chan, mtx, pri, wmesg, timeo) \
     mtsleep((chan), (pri), (wmesg), (timeo), *(mtx))



Home | Main Index | Thread Index | Old Index