From 23928d906c2713c43ee4df706686056cf13d89b3 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Thu, 8 Aug 2024 13:15:09 +0200 Subject: [PATCH] function prototype consistency fix for ppiwin.c mingw builds for Windows require a function prototype fix. --- src/ppiwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ppiwin.c b/src/ppiwin.c index 410e3e815..29174acd9 100644 --- a/src/ppiwin.c +++ b/src/ppiwin.c @@ -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);