commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 04/31: Use posix types for mig definitions.


From: Samuel Thibault
Subject: [hurd] 04/31: Use posix types for mig definitions.
Date: Mon, 02 May 2016 23:48:31 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 007eeb3e109d833a52603c3a19436907126b33a8
Author: Flavio Cruz <address@hidden>
Date:   Tue Mar 15 05:49:51 2016 -0400

    Use posix types for mig definitions.
    
    * hurd/hurd_types.defs: Use posix types.
    * libfshelp/start-translator-long.c: Use uint32_t instead of
    unsigned32_t.
---
 hurd/hurd_types.defs              | 20 ++++++++++----------
 libfshelp/start-translator-long.c |  3 ++-
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index 1837500..4d7013c 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -349,16 +349,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 = unsigned32;
-type gid_t = unsigned32;
-type mode_t = unsigned32;
-type retry_type = unsigned32;
-type pid_t = int32;
-type wait_status_t = int32;
-type loff_t = int64;
-type ino64_t = int64;
-type file_changed_type_t = unsigned32;
-type dir_changed_type_t = unsigned32;
+type uid_t = uint32_t;
+type gid_t = uint32_t;
+type mode_t = uint32_t;
+type retry_type = uint32_t;
+type pid_t = int32_t;
+type wait_status_t = int32_t;
+type loff_t = int64_t;
+type ino64_t = int64_t;
+type file_changed_type_t = uint32_t;
+type dir_changed_type_t = uint32_t;
 
 type portarray_t = array[] of mach_port_send_t;
 type intarray_t = array[] of int;
diff --git a/libfshelp/start-translator-long.c 
b/libfshelp/start-translator-long.c
index 8b00e08..da6f52e 100644
--- a/libfshelp/start-translator-long.c
+++ b/libfshelp/start-translator-long.c
@@ -24,6 +24,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <stdint.h>
 #include <string.h>
 #include <assert.h>
 #include "fshelp.h"
@@ -107,7 +108,7 @@ service_fsys_startup (fshelp_open_fn_t underlying_open_fn, 
void *cookie,
     {
       union
       {
-       unsigned32_t word;
+        uint32_t word;
        mach_msg_type_t type;
       } t, c;
       t.type = *type;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]