mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Sort out headers and silence warnings.
This commit is contained in:
parent
b39de2c700
commit
f66590042b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62093
@ -46,14 +46,15 @@
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/msgbuf.h>
|
||||
#include <sys/signalvar.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include <machine/frame.h>
|
||||
#include <machine/psl.h>
|
||||
@ -141,7 +142,7 @@ static int
|
||||
mmrw(dev_t dev, struct uio *uio, int flags)
|
||||
{
|
||||
vm_offset_t o, v;
|
||||
int c;
|
||||
int c = 0;
|
||||
struct iovec *iov;
|
||||
int error = 0, rw;
|
||||
vm_offset_t addr, eaddr;
|
||||
|
Loading…
Reference in New Issue
Block a user