From 365b5ed395f6129e18e5338f2be2960eac04591d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 13 Jun 2002 00:00:03 +0000 Subject: [PATCH] Fix up some versioning mistakes --- lib/comedi.c | 2 +- lib/data.c | 2 +- lib/error.c | 2 +- lib/get.c | 6 +++--- lib/ioctl.c | 2 +- lib/libinternal.h | 4 ++-- lib/range.c | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/comedi.c b/lib/comedi.c index 974c9bf..e7d6951 100644 --- a/lib/comedi.c +++ b/lib/comedi.c @@ -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; diff --git a/lib/data.c b/lib/data.c index 3133f28..ea38fc6 100644 --- a/lib/data.c +++ b/lib/data.c @@ -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) diff --git a/lib/error.c b/lib/error.c index a6abcb7..4881f24 100644 --- a/lib/error.c +++ b/lib/error.c @@ -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+n_errors) diff --git a/lib/get.c b/lib/get.c index 082ed36..6bcc236 100644 --- 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)) diff --git a/lib/ioctl.c b/lib/ioctl.c index 3ea1a1c..cdcb9ad 100644 --- a/lib/ioctl.c +++ b/lib/ioctl.c @@ -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; diff --git a/lib/libinternal.h b/lib/libinternal.h index 9095ea8..36e0eec 100644 --- a/lib/libinternal.h +++ b/lib/libinternal.h @@ -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 */ diff --git a/lib/range.c b/lib/range.c index a526d82..4fdb611 100644 --- a/lib/range.c +++ b/lib/range.c @@ -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) { -- 2.26.2