Change return value of comedi_close to int

This commit is contained in:
David Schleef 2001-06-27 22:16:42 +00:00
parent 405f044ad9
commit 95e2ff75f5

View file

@ -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)