]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/bsdapp/nic_uio/nic_uio.c
nic_uio: fix thread structure compatibility for future FreeBSD
[dpdk.git] / lib / librte_eal / bsdapp / nic_uio / nic_uio.c
index ed11d845bbbe5771666fc0b2cf66c929d7e4ab4a..5ae85604397e14db86efd5d74b2087c23588a8d6 100644 (file)
@@ -175,13 +175,13 @@ nic_uio_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t size,
 
 
 int
-nic_uio_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
+nic_uio_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
 {
        return 0;
 }
 
 int
-nic_uio_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td)
+nic_uio_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
 {
        return 0;
 }