projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
405f044
)
Change return value of comedi_close to int
author
David Schleef
<ds@schleef.org>
Wed, 27 Jun 2001 22:16:42 +0000
(22:16 +0000)
committer
David Schleef
<ds@schleef.org>
Wed, 27 Jun 2001 22:16:42 +0000
(22:16 +0000)
lib/comedi.c
patch
|
blob
|
history
diff --git
a/lib/comedi.c
b/lib/comedi.c
index db2e0cbb98347094b592ea21c5caa53ebe23536b..ccb6d2e669b77d1617ab4fdee033950a34dde935 100644
(file)
--- 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)