From 1d40ed15aa390151bab5a2be023f2921943080d6 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Wed, 12 Dec 2007 12:42:44 +0000 Subject: [PATCH] Corrected type qualifiers for pc_DriverName in boardtype. --- comedi/drivers/addi-data/addi_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comedi/drivers/addi-data/addi_common.h b/comedi/drivers/addi-data/addi_common.h index e7ccf846..c25e6f6f 100644 --- a/comedi/drivers/addi-data/addi_common.h +++ b/comedi/drivers/addi-data/addi_common.h @@ -66,6 +66,7 @@ You shoud also find the complete GPL in the COPYING file accompanying this sourc typedef void VOID, *PVOID; typedef char CHAR, *PCHAR; +typedef const CHAR *PCSTR; typedef unsigned char BYTE, *PBYTE; typedef short SHORT, *PSHORT; typedef unsigned short USHORT, *PUSHORT; @@ -104,7 +105,7 @@ typedef comedi_lrange *PRANGE; // structure for the boardtype typedef struct { - const PCHAR pc_DriverName; // driver name + PCSTR pc_DriverName; // driver name INT i_VendorId; //PCI vendor a device ID of card INT i_DeviceId; INT i_IorangeBase0; -- 2.26.2