// We need a copy of this string in the 0xf000 segment, but we are not
// actually a PnP BIOS, so make sure it is *not* aligned, so OSes will
// not see it if they scan.
-char pnp_string[] __aligned(2) VAR16_32 = " $PnP";
+char pnp_string[] __aligned(2) VAR16VISIBLE = " $PnP";
#endif
#define FUNCTION_NOT_SUPPORTED 0x82
}
u16
-get_pnp_offset()
+get_pnp_offset(void)
{
if (! CONFIG_PNPBIOS)
return (u32)pnp_string + 1 - BUILD_BIOS_ADDR;
}
// romlayout.S
-extern void entry_pnp_real();
-extern void entry_pnp_prot();
+extern void entry_pnp_real(void);
+extern void entry_pnp_prot(void);
void
-pnp_setup()
+pnp_setup(void)
{
if (! CONFIG_PNPBIOS)
return;