From: David Schleef Date: Wed, 27 Jun 2001 22:16:42 +0000 (+0000) Subject: Change return value of comedi_close to int X-Git-Tag: r0_7_16~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95e2ff75f510d66fd2287ac7a0b125fe1b353b6b;p=comedilib.git Change return value of comedi_close to int --- diff --git a/lib/comedi.c b/lib/comedi.c index db2e0cb..ccb6d2e 100644 --- a/lib/comedi.c +++ b/lib/comedi.c @@ -87,7 +87,7 @@ cleanup: __asm__(".symver comedi_open_0,comedi_open@"); #endif -void comedi_close(comedi_t *it) +int comedi_close(comedi_t *it) { subdevice *s; int i; @@ -117,6 +117,7 @@ void comedi_close(comedi_t *it) } close(it->fd); free(it); + return 0; } int comedi_cancel(comedi_t *it,unsigned int subdevice)