summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-08 02:49:29 +0000
committerRoland McGrath <roland@gnu.org>2002-06-08 02:49:29 +0000
commit9d3fac19f009975cc5cf20684f86d9006d890081 (patch)
tree1dfbd31fbeed70cc104e898636243f17b3060af5 /hurd
parent09ba767596dbe5900b5a190db8a0f5f48edc5c8f (diff)
2002-06-07 Roland McGrath <roland@frob.com>
* hurd_types.defs (dev_t, ssize_t): Remove unused types. (uid_t, gid_t, mode_t, pid_t, off_t, size_t): Use int32/unsigned32. (retry_type, wait_status_t): Likewise. (file_changed_type_t, dir_changed_type_t): Likewise.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd_types.defs24
1 files changed, 11 insertions, 13 deletions
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index a1e284f1..99f043c1 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -1,5 +1,5 @@
/* MiG type declarations for Hurd interfaces -*- C -*-
- Copyright (C) 1993,94,95,96,98,2001 Free Software Foundation, Inc.
+ Copyright (C) 1993,94,95,96,98,2001,02 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -192,18 +192,16 @@ serverprefix SERVERPREFIX;
type data_t = array[] of char;
type string_t = c_string[1024]; /* XXX */
type io_statbuf_t = struct[32] of int;
-type uid_t = int;
-type gid_t = int;
-type mode_t = int;
-type dev_t = short;
-type retry_type = int;
-type pid_t = int;
-type wait_status_t = int;
-type off_t = int;
-type size_t = unsigned;
-type ssize_t = int;
-type file_changed_type_t = int;
-type dir_changed_type_t = int;
+type uid_t = unsigned32;
+type gid_t = unsigned32;
+type mode_t = unsigned32;
+type retry_type = unsigned32;
+type pid_t = int32;
+type wait_status_t = int32;
+type off_t = int32;
+type size_t = unsigned32;
+type file_changed_type_t = unsigned32;
+type dir_changed_type_t = unsigned32;
type portarray_t = array[] of mach_port_send_t;
type intarray_t = array[] of int;