Skip to content

Commit

Permalink
function prototype consistency fix for ppiwin.c
Browse files Browse the repository at this point in the history
mingw builds for Windows require a function prototype fix.
  • Loading branch information
ndim committed Aug 8, 2024
1 parent 28ebfa0 commit 23928d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ppiwin.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ static const winpp winports[DEVICE_MAX] =

/* FUNCTION PROTOTYPES */
static int winnt_pp_open(void);
static unsigned short port_get(union filedescriptor *fdp, int reg);
static unsigned short port_get(const union filedescriptor *fdp, int reg);
static unsigned char reg2offset(int reg);
static unsigned char inb(unsigned short port);
static void outb(unsigned char value, unsigned short port);
Expand Down

0 comments on commit 23928d9

Please sign in to comment.