From: Ian Abbott Date: Wed, 12 Dec 2007 12:42:44 +0000 (+0000) Subject: Corrected type qualifiers for pc_DriverName in boardtype. X-Git-Tag: v0_7_76~22 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1d40ed15aa390151bab5a2be023f2921943080d6;p=comedi.git Corrected type qualifiers for pc_DriverName in boardtype. --- 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;