mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Replace use of d_thread_t with 'struct thread'. This has been accepted
upstream already. d_thread_t is an ancient compat shim for FreeBSD 4 that is going away in FreeBSD 11. PR: 196692 Approved by: gnn (maintainer)
This commit is contained in:
parent
13f6cfec88
commit
31176491f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378120
20
sysutils/mbgtools/files/patch-mbgclock-mbgclock_main.c
Normal file
20
sysutils/mbgtools/files/patch-mbgclock-mbgclock_main.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- mbgclock/mbgclock_main.c.orig 2015-01-10 10:47:02.000000000 -0500
|
||||
+++ mbgclock/mbgclock_main.c 2015-01-10 10:47:17.000000000 -0500
|
||||
@@ -135,7 +135,7 @@
|
||||
* attach routine when we create the /dev entry.
|
||||
*/
|
||||
int
|
||||
-mbgclock_open( struct cdev *dev, int oflags, int devtype, d_thread_t *td )
|
||||
+mbgclock_open( struct cdev *dev, int oflags, int devtype, struct thread *td )
|
||||
{
|
||||
struct mbgclock_softc *psc = dev->si_drv1;
|
||||
PCPS_DDEV *pddev = psc->pddev;
|
||||
@@ -152,7 +152,7 @@
|
||||
|
||||
|
||||
int
|
||||
-mbgclock_close( struct cdev *dev, int fflag, int devtype, d_thread_t *td )
|
||||
+mbgclock_close( struct cdev *dev, int fflag, int devtype, struct thread *td )
|
||||
{
|
||||
struct mbgclock_softc *psc = dev->si_drv1;
|
||||
PCPS_DDEV *pddev = psc->pddev;
|
Loading…
Reference in New Issue
Block a user