qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 07/16] bsd-user: Move system call include to os-syscall.h


From: Richard Henderson
Subject: Re: [PATCH 07/16] bsd-user: Move system call include to os-syscall.h
Date: Sat, 8 Apr 2023 12:08:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 4/5/23 14:36, Warner Losh wrote:
@@ -98,11 +75,9 @@ struct target_iovec {
   * sys/timex.h
   */
-typedef abi_long target_freebsd_suseconds_t;
-
  /* compare to sys/timespec.h */
  struct target_freebsd_timespec {
-    target_freebsd_time_t   tv_sec;     /* seconds */
+    target_time_t   tv_sec;     /* seconds */
      abi_long                tv_nsec;    /* and nanoseconds */
  #if !defined(TARGET_I386) && TARGET_ABI_BITS == 32
      abi_long _pad;
@@ -120,8 +95,8 @@ struct target_freebsd__umtx_time {
  };
struct target_freebsd_timeval {
-    target_freebsd_time_t       tv_sec; /* seconds */
-    target_freebsd_suseconds_t  tv_usec;/* and microseconds */
+    target_time_t       tv_sec; /* seconds */
+    target_suseconds_t  tv_usec;/* and microseconds */

Did I miss where target_suseconds_t got defined?
With the context provided, you remove target_freebsd_suseconds_t but don't 
replace it.


r~




reply via email to

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