Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Define mode_t via __mode_t.
details: https://anonhg.NetBSD.org/src/rev/629582791f34
branches: trunk
changeset: 493895:629582791f34
user: kleink <kleink%NetBSD.org@localhost>
date: Mon Jun 26 16:53:47 2000 +0000
description:
Define mode_t via __mode_t.
diffstat:
sys/sys/types.h | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 325d6d4f4b97 -r 629582791f34 sys/sys/types.h
--- a/sys/sys/types.h Mon Jun 26 16:53:20 2000 +0000
+++ b/sys/sys/types.h Mon Jun 26 16:53:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.44 2000/06/26 15:51:37 kleink Exp $ */
+/* $NetBSD: types.h,v 1.45 2000/06/26 16:53:47 kleink Exp $ */
/*-
* Copyright (c) 1982, 1986, 1991, 1993, 1994
@@ -82,7 +82,12 @@
typedef u_int32_t id_t; /* group id, process id or user id */
typedef u_int32_t ino_t; /* inode number */
typedef long key_t; /* IPC key (for Sys V IPC) */
-typedef u_int32_t mode_t; /* permissions */
+
+#ifndef mode_t
+typedef __mode_t mode_t; /* permissions */
+#define mode_t mode_t
+#endif
+
typedef u_int32_t nlink_t; /* link count */
#ifndef off_t
Home |
Main Index |
Thread Index |
Old Index