Page MenuHomeFreeBSD

D33500.id100145.diff
No OneTemporary

D33500.id100145.diff

Index: sys/sys/_callout.h
===================================================================
--- sys/sys/_callout.h
+++ sys/sys/_callout.h
@@ -40,6 +40,7 @@
#ifndef _SYS__CALLOUT_H
#define _SYS__CALLOUT_H
+#include <sys/_types.h>
#include <sys/queue.h>
struct lock_object;
@@ -56,8 +57,8 @@
SLIST_ENTRY(callout) sle;
TAILQ_ENTRY(callout) tqe;
} c_links;
- sbintime_t c_time; /* ticks to the event */
- sbintime_t c_precision; /* delta allowed wrt opt */
+ __sbintime_t c_time; /* ticks to the event */
+ __sbintime_t c_precision; /* delta allowed wrt opt */
void *c_arg; /* function argument */
callout_func_t *c_func; /* function to call */
struct lock_object *c_lock; /* lock to handle */
Index: sys/sys/_types.h
===================================================================
--- sys/sys/_types.h
+++ sys/sys/_types.h
@@ -133,6 +133,7 @@
typedef __int64_t __off_t; /* file offset */
typedef __int64_t __off64_t; /* file offset (alias) */
typedef __int32_t __pid_t; /* process [group] */
+typedef __int64_t __sbintime_t;
typedef __int64_t __rlim_t; /* resource limit - intentionally */
/* signed, because of legacy code */
/* that uses -1 for RLIM_INFINITY */
Index: sys/sys/types.h
===================================================================
--- sys/sys/types.h
+++ sys/sys/types.h
@@ -193,7 +193,7 @@
#define _RLIM_T_DECLARED
#endif
-typedef __int64_t sbintime_t;
+typedef __sbintime_t sbintime_t;
typedef __segsz_t segsz_t; /* segment size (in pages) */

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 10, 4:54 AM (2 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29473810
Default Alt Text
D33500.id100145.diff (1 KB)

Event Timeline