More linting in src/machine

This commit is contained in:
Jasmine Iwanek
2023-08-21 20:23:21 -04:00
parent fd1334d454
commit d8eab07471
7 changed files with 66 additions and 64 deletions

View File

@@ -91,8 +91,8 @@ philips_write(uint16_t port, uint8_t val, void *priv)
static uint8_t
philips_read(uint16_t port, void *priv)
{
philips_t *dev = (philips_t *) priv;
uint8_t ret = 0xff;
const philips_t *dev = (philips_t *) priv;
uint8_t ret = 0xff;
switch (port) {
/* port 0xc0