From 95e2ff75f510d66fd2287ac7a0b125fe1b353b6b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 27 Jun 2001 22:16:42 +0000 Subject: [PATCH] Change return value of comedi_close to int --- lib/comedi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.26.2