comedi_debug in comedi-0.7.66

Hello,

if debugging is not enabled, the following lines in comedidev.h will cause 
multiple definitions of comedi_debug in the object files:

#ifdef CONFIG_COMEDI_DEBUG
extern int comedi_debug;
#else
const int comedi_debug = 0;
#endif

I think we have to add a static declaration in front of const.

-- 
===========================

Dipl.-Ing.(FH) Guenter Gebhardt
Meilhaus Electronic GmbH
Fischerstrasse 2

D-82178 Puchheim

Tel.: +4989 - 890 166 0
Fax: +4989 - 890 166 36

http://www.meilhaus.com
g.gebhardt_at_meilhaus.com

Received on 2003-07-11Z06:17:56