Removed all model-based one-line header files and moved their info to model.h. Added static to handler functions where needed.

This commit is contained in:
waltje
2017-06-16 16:00:44 -04:00
parent 743c8f3680
commit 2019183c29
49 changed files with 539 additions and 538 deletions

View File

@@ -2,10 +2,13 @@
see COPYING for more details
*/
#include "ibm.h"
#include "cpu/cpu.h"
#include "io.h"
#include "olivetti_m24.h"
#include "device.h"
#include "model.h"
uint8_t olivetti_m24_read(uint16_t port, void *priv)
static uint8_t olivetti_m24_read(uint16_t port, void *priv)
{
switch (port)
{
@@ -17,7 +20,8 @@ uint8_t olivetti_m24_read(uint16_t port, void *priv)
return 0xff;
}
void olivetti_m24_init()
void olivetti_m24_init(void)
{
io_sethandler(0x0066, 0x0002, olivetti_m24_read, NULL, NULL, NULL, NULL, NULL, NULL);
}