[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fifo prototypes and const
Hello,
since I write in C++, I get much more warnigns than programming in C. Well,
could the prototype and implementation of
int rtf_put(unsigned int fifo, void *buf, int count);
changed to
int rtf_put(unsigned int fifo, const void *buf, int count);
It's the complement to user space write:
ssize_t write(int fd, const char *buf, size_t count);
where the buf isn't modified. I guess the same for rtf_put. As I can see
RTLinux and RTAI is affected. I havent checked the other prototypes.
Regards
Olaf