From: Ben Gras Date: Fri, 24 Mar 2006 14:16:06 +0000 (+0000) Subject: Don't do this X-Git-Tag: v3.1.2a~149 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=22c9e970295907d67013b90b8a0c2bc8046b6612;p=minix.git Don't do this --- diff --git a/include/minix/syslib.h b/include/minix/syslib.h index 583de81e4..584913759 100755 --- a/include/minix/syslib.h +++ b/include/minix/syslib.h @@ -148,9 +148,9 @@ _PROTOTYPE(int sys_vinl, (pvl_pair_t *pvl_pairs, int nr_ports) ); _PROTOTYPE(int sys_out, (int port, unsigned long value, int type) ); /* Shorthands for sys_in() system call. */ -#define sys_inb(p,v) sys_in((p), (unsigned long *) (v), DIO_BYTE) -#define sys_inw(p,v) sys_in((p), (unsigned long *) (v), DIO_WORD) -#define sys_inl(p,v) sys_in((p), (unsigned long *) (v), DIO_LONG) +#define sys_inb(p,v) sys_in((p), (v), DIO_BYTE) +#define sys_inw(p,v) sys_in((p), (v), DIO_WORD) +#define sys_inl(p,v) sys_in((p), (v), DIO_LONG) _PROTOTYPE(int sys_in, (int port, unsigned long *value, int type) ); /* pci.c */