Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/find find: use POSIX type uint32_t instead of u_int32_t



details:   https://anonhg.NetBSD.org/src/rev/0c18dfb93b8c
branches:  trunk
changeset: 960403:0c18dfb93b8c
user:      cheusov <cheusov%NetBSD.org@localhost>
date:      Thu Mar 18 18:21:18 2021 +0000

description:
find: use POSIX type uint32_t instead of u_int32_t

diffstat:

 usr.bin/find/find.h     |  4 ++--
 usr.bin/find/function.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 7d4c0d7c8b76 -r 0c18dfb93b8c usr.bin/find/find.h
--- a/usr.bin/find/find.h       Thu Mar 18 18:12:35 2021 +0000
+++ b/usr.bin/find/find.h       Thu Mar 18 18:21:18 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: find.h,v 1.26 2016/06/13 00:04:40 pgoyette Exp $       */
+/*     $NetBSD: find.h,v 1.27 2021/03/18 18:21:18 cheusov Exp $        */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -65,7 +65,7 @@
        int flags;                              /* private flags */
        enum ntype type;                        /* plan node type */
        union {
-               u_int32_t _f_data;              /* flags */
+               uint32_t _f_data;               /* flags */
                gid_t _g_data;                  /* gid */
                ino_t _i_data;                  /* inode */
                mode_t _m_data;                 /* mode mask */
diff -r 7d4c0d7c8b76 -r 0c18dfb93b8c usr.bin/find/function.c
--- a/usr.bin/find/function.c   Thu Mar 18 18:12:35 2021 +0000
+++ b/usr.bin/find/function.c   Thu Mar 18 18:21:18 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: function.c,v 1.77 2018/09/04 15:16:15 kre Exp $        */
+/*     $NetBSD: function.c,v 1.78 2021/03/18 18:21:18 cheusov Exp $    */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "from: @(#)function.c   8.10 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: function.c,v 1.77 2018/09/04 15:16:15 kre Exp $");
+__RCSID("$NetBSD: function.c,v 1.78 2021/03/18 18:21:18 cheusov Exp $");
 #endif
 #endif /* not lint */
 
@@ -960,7 +960,7 @@
 int
 f_flags(PLAN *plan, FTSENT *entry)
 {
-       u_int32_t flags;
+       uint32_t flags;
 
        flags = entry->fts_statp->st_flags;
        if (plan->flags == F_ATLEAST)



Home | Main Index | Thread Index | Old Index