summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ufm.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-11 16:38:53 +0000
committerimp <imp@FreeBSD.org>2002-03-11 16:38:53 +0000
commita5126a967f2db5a17f2668702a5fc8ac5726466a (patch)
treeae1e7dcada434552d03764e30777f91b967aeb5a /sys/dev/usb/ufm.c
parent2098322771142aba7a283e21df03bedd2518d515 (diff)
downloadFreeBSD-src-a5126a967f2db5a17f2668702a5fc8ac5726466a.zip
FreeBSD-src-a5126a967f2db5a17f2668702a5fc8ac5726466a.tar.gz
On FreeBSD make usb_proc_t the same as d_thred_t always.
Diffstat (limited to 'sys/dev/usb/ufm.c')
-rw-r--r--sys/dev/usb/ufm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c
index b16c56f..403ee05 100644
--- a/sys/dev/usb/ufm.c
+++ b/sys/dev/usb/ufm.c
@@ -72,8 +72,8 @@ int ufmdebug = 100;
#define DPRINTFN(n,x)
#endif
-#if defined(__FreeBSD__) && __FreeBSD_version >= 500023
-typedef struct thread usb_proc_t;
+#ifdef __FreeBSD_version
+typedef d_thread_t usb_proc_t;
#else
typedef struct proc usb_proc_t;
#endif
OpenPOWER on IntegriCloud