Put #ifdef around symbols that are conditionally defined
authorDavid Schleef <ds@schleef.org>
Thu, 16 May 2002 21:40:55 +0000 (21:40 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 16 May 2002 21:40:55 +0000 (21:40 +0000)
comedi/kcomedilib/ksyms.c

index 9a73cd0df6039fa28cf6b3ab45bb4ac657b99399..6b180529257aadcab10c3712bb17c2cc137970c1 100644 (file)
@@ -79,7 +79,9 @@ EXPORT_SYMBOL(comedi_get_n_channels);
 
 /* channel queries */
 EXPORT_SYMBOL(comedi_get_maxdata);
-EXPORT_SYMBOL(comedi_get_rangetype); /* deprecated? */
+#ifdef KCOMEDILIB_DEPRECATED
+EXPORT_SYMBOL(comedi_get_rangetype);
+#endif
 EXPORT_SYMBOL(comedi_get_n_ranges);
 //EXPORT_SYMBOL(comedi_find_range);