Control: tags -1 + patch Should be safe to change this to use regular C99 types post-wheezy.
Regards, -- Steven Chamberlain ste...@pyro.eu.org
Index: kfreebsd-9-9.0/sys/sys/filedesc.h =================================================================== --- kfreebsd-9-9.0.orig/sys/sys/filedesc.h 2011-08-11 13:30:23.000000000 +0100 +++ kfreebsd-9-9.0/sys/sys/filedesc.h 2013-05-02 21:19:25.193755097 +0100 @@ -45,7 +45,7 @@ * This structure is used for the management of descriptors. It may be * shared by multiple processes. */ -#define NDSLOTTYPE u_long +#define NDSLOTTYPE unsigned long struct filedesc { struct file **fd_ofiles; /* file structures for open files */ @@ -57,9 +57,9 @@ NDSLOTTYPE *fd_map; /* bitmap of free fds */ int fd_lastfile; /* high-water mark of fd_ofiles */ int fd_freefile; /* approx. next free file */ - u_short fd_cmask; /* mask for file creation */ - u_short fd_refcnt; /* thread reference count */ - u_short fd_holdcnt; /* hold count on structure + mutex */ + unsigned short fd_cmask; /* mask for file creation */ + unsigned short fd_refcnt; /* thread reference count */ + unsigned short fd_holdcnt; /* hold count on structure + mutex */ struct sx fd_sx; /* protects members of this struct */ struct kqlist fd_kqlist; /* list of kqueues on this filedesc */ int fd_holdleaderscount; /* block fdfree() for shared close() */