Fix up some versioning mistakes
authorDavid Schleef <ds@schleef.org>
Thu, 13 Jun 2002 00:00:03 +0000 (00:00 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 13 Jun 2002 00:00:03 +0000 (00:00 +0000)
lib/comedi.c
lib/data.c
lib/error.c
lib/get.c
lib/ioctl.c
lib/libinternal.h
lib/range.c

index 974c9bfe2d64d88fbf38295d610bdf464256eb92..e7d6951146d6b463be419c46df8327405034f1fa 100644 (file)
@@ -83,7 +83,7 @@ cleanup:
        return NULL;
 }
 
-EXPORT_SYMBOL(comedi_open,0.7.18);
+EXPORT_SYMBOL(comedi_close,0.7.18);
 int comedi_close(comedi_t *it)
 {
        subdevice *s;
index 3133f281e03db35be232e451a93dcb7cdf1772c7..ea38fc6c19201d7f0319a0cfef795308f7bced2c 100644 (file)
@@ -143,7 +143,7 @@ static inline int comedi_internal_data_read_n(comedi_t *it,
        }
 }
 
-EXPORT_SYMBOL(comedi_data_read_n,0.7.19);
+EXPORT_SYMBOL(comedi_data_read_n,0.7.18);
 int comedi_data_read_n(comedi_t *it, unsigned int subdev,
        unsigned int chan, unsigned int range,
        unsigned int aref, lsampl_t *data, unsigned int n)
index a6abcb751044874917662931b03430b3b7755173..4881f247a268f1017549ac4cd9c7c1e7035f70c5 100644 (file)
@@ -59,7 +59,7 @@ int comedi_errno(void)
        return __comedi_errno;
 }
 
-EXPORT_SYMBOL(comedi_strerr,0.7.18);
+EXPORT_SYMBOL(comedi_strerror,0.7.18);
 char *comedi_strerror(int errnum)
 {
        if(errnum<COMEDI_NOERROR || errnum>=COMEDI_NOERROR+n_errors)
index 082ed36d7533adf6eed0ed6b848b5b8b1d85923b..6bcc2365ce540b93514b2d92c7c220f54e4aee90 100644 (file)
--- a/lib/get.c
+++ b/lib/get.c
@@ -90,7 +90,7 @@ int comedi_get_subdevice_type(comedi_t *it,unsigned int subd)
        return it->subdevices[subd].type;
 }
 
-EXPORT_SYMBOL(comedi_get_subdevice_type,0.7.18);
+EXPORT_SYMBOL(comedi_find_subdevice_by_type,0.7.18);
 int comedi_find_subdevice_by_type(comedi_t *it,int type,unsigned int subd)
 {
        if(!valid_subd(it,subd))
@@ -103,7 +103,7 @@ int comedi_find_subdevice_by_type(comedi_t *it,int type,unsigned int subd)
        return -1;
 }
 
-EXPORT_SYMBOL(comedi_get_read_subdevice,0.7.18);
+EXPORT_SYMBOL(comedi_get_read_subdevice,0.7.19);
 int comedi_get_read_subdevice(comedi_t *dev)
 {
        if(!valid_dev(dev))
@@ -112,7 +112,7 @@ int comedi_get_read_subdevice(comedi_t *dev)
        return dev->devinfo.read_subdevice;
 }
 
-EXPORT_SYMBOL(comedi_get_write_subdevice,0.7.18);
+EXPORT_SYMBOL(comedi_get_write_subdevice,0.7.19);
 int comedi_get_write_subdevice(comedi_t *dev)
 {
        if(!valid_dev(dev))
index 3ea1a1c228bc25000fbfc4a883873df712707a3d..cdcb9ad4faa8768f0aa8d2e5434d68617b9e9034 100644 (file)
@@ -39,7 +39,7 @@
 /* ioctl wrappers */
 
 
-int comedi_ioctl_debug(int fd, int request, unsigned long arg)
+int _comedi_ioctl_debug(int fd, int request, unsigned long arg)
 {
        int ret;
 
index 9095ea8010a46604d90dc05c1c39413562a70143..36e0eec29b1a58b155d9dd1b066d46d6b66f981d 100644 (file)
@@ -128,9 +128,9 @@ struct subdevice_struct{
 
 
 #define comedi_ioctl ioctl
-//#define comedi_ioctl comedi_ioctl_debug
+//#define comedi_ioctl _comedi_ioctl_debug
 
-int comedi_ioctl_debug(int,int,unsigned long);
+int _comedi_ioctl_debug(int,int,unsigned long);
 
 /* filler routines */
 
index a526d82e377153c299d6de999f93d6dace0aa3c8..4fdb61157fb69bf625c6a52fda151b95954f6754 100644 (file)
@@ -140,7 +140,7 @@ int comedi_range_is_chan_specific(comedi_t *it,unsigned int subd)
        return (it->subdevices[subd].subd_flags&SDF_RANGETYPE)?1:0;
 }
 
-EXPORT_SYMBOL(comedi_sampl_to_phys,0.7.19);
+EXPORT_SYMBOL(comedi_sampl_to_phys,0.7.18);
 int comedi_sampl_to_phys(double *dest, int dst_stride, sampl_t *src,
        int src_stride, comedi_range *rng, lsampl_t maxdata, int n)
 {
@@ -177,7 +177,7 @@ int comedi_sampl_to_phys(double *dest, int dst_stride, sampl_t *src,
        return oor;
 }
 
-EXPORT_SYMBOL(comedi_sampl_from_phys,0.7.19);
+EXPORT_SYMBOL(comedi_sampl_from_phys,0.7.18);
 int comedi_sampl_from_phys(sampl_t *dest,int dst_stride,double *src,
        int src_stride, comedi_range *rng, lsampl_t maxdata, int n)
 {