Fix compiler warnings.
This commit is contained in:
parent
b56917558b
commit
58aee91edf
@ -33,7 +33,7 @@ message *m; /* notification message */
|
|||||||
message mess;
|
message mess;
|
||||||
|
|
||||||
/* Ask TTY driver for log output */
|
/* Ask TTY driver for log output */
|
||||||
mess.GETKM_PTR= &kmess;
|
mess.GETKM_PTR= (char *) &kmess;
|
||||||
mess.m_type = GET_KMESS;
|
mess.m_type = GET_KMESS;
|
||||||
r= sendrec(TTY_PROC_NR, &mess);
|
r= sendrec(TTY_PROC_NR, &mess);
|
||||||
if (r == OK) r= mess.m_type;
|
if (r == OK) r= mess.m_type;
|
||||||
|
@ -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) );
|
_PROTOTYPE(int sys_out, (int port, unsigned long value, int type) );
|
||||||
|
|
||||||
/* Shorthands for sys_in() system call. */
|
/* Shorthands for sys_in() system call. */
|
||||||
#define sys_inb(p,v) sys_in((p), (v), DIO_BYTE)
|
#define sys_inb(p,v) sys_in((p), (unsigned long *) (v), DIO_BYTE)
|
||||||
#define sys_inw(p,v) sys_in((p), (v), DIO_WORD)
|
#define sys_inw(p,v) sys_in((p), (unsigned long *) (v), DIO_WORD)
|
||||||
#define sys_inl(p,v) sys_in((p), (v), DIO_LONG)
|
#define sys_inl(p,v) sys_in((p), (unsigned long *) (v), DIO_LONG)
|
||||||
_PROTOTYPE(int sys_in, (int port, unsigned long *value, int type) );
|
_PROTOTYPE(int sys_in, (int port, unsigned long *value, int type) );
|
||||||
|
|
||||||
/* pci.c */
|
/* pci.c */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user