diff --git a/include/aiodev.h b/include/aiodev.h index 0d4f7a2..5e38b4f 100644 --- a/include/aiodev.h +++ b/include/aiodev.h @@ -23,7 +23,7 @@ struct aiodevice; struct aiochannel { int index; - char *unit; + const char *unit; struct aiodevice *aiodev; int value;