projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
360b151
)
Corrected type qualifiers for pc_DriverName in boardtype.
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 12 Dec 2007 12:42:44 +0000
(12:42 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Wed, 12 Dec 2007 12:42:44 +0000
(12:42 +0000)
comedi/drivers/addi-data/addi_common.h
patch
|
blob
|
history
diff --git
a/comedi/drivers/addi-data/addi_common.h
b/comedi/drivers/addi-data/addi_common.h
index e7ccf84684e5079193aad88a35f531bedfa09544..c25e6f6fbe05ff7ad27deb00755ad2fcfc810a7c 100644
(file)
--- 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;