pnpinfo: Remove __P

We don't need to compile on a K&R compiler (and we've long ago lost the
ability to do so). It's not even clear if it ever worked with a pure K&R
compiler, but maybe it once did...

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2023-11-17 20:46:20 -07:00
parent 54d487c4d0
commit f863f39636

View file

@ -50,8 +50,8 @@ __FBSDID("$FreeBSD$");
void
pnp_write(int d, u_char r)
{
outb (_PNP_ADDRESS, d);
outb (_PNP_WRITE_DATA, r);
outb(_PNP_ADDRESS, d);
outb(_PNP_WRITE_DATA, r);
}
/* The READ_DATA port that we are using currently */
@ -74,14 +74,14 @@ pnp_readw(int d)
int logdevs=0;
void DELAY __P((int i));
void send_Initiation_LFSR();
int get_serial __P((u_char *data));
int get_resource_info __P((u_char *buffer, int len));
int handle_small_res __P((u_char *resinfo, int item, int len));
void handle_large_res __P((u_char *resinfo, int item, int len));
void dump_resdata __P((u_char *data, int csn));
int isolation_protocol();
void DELAY(int i);
void send_Initiation_LFSR(void);
int get_serial(u_char *data);
int get_resource_info(u_char *buffer, int len);
int handle_small_res(u_char *resinfo, int item, int len);
void handle_large_res(u_char *resinfo, int item, int len);
void dump_resdata(u_char *data, int csn);
int isolation_protocol(void);
/*
@ -89,7 +89,7 @@ int isolation_protocol();
* This function busy-waits.
*/
void
DELAY (int i)
DELAY(int i)
{
struct timeval t;
long start, stop;
@ -235,7 +235,7 @@ report_dma_info(int x)
void
report_memory_info (int x)
report_memory_info(int x)
{
if (x & 0x1)
printf ("Memory Range: Writeable\n");