projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2dca46
)
added delarations of ret variable in comedi_map and unmap
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 7 May 2001 15:58:45 +0000
(15:58 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 7 May 2001 15:58:45 +0000
(15:58 +0000)
comedi/kcomedilib/kcomedilib_main.c
patch
|
blob
|
history
diff --git
a/comedi/kcomedilib/kcomedilib_main.c
b/comedi/kcomedilib/kcomedilib_main.c
index 1b359531c44bc202166d872af2a5332661e15158..be01e241b6b310c273ae47067a89b5de382747f6 100644
(file)
--- a/
comedi/kcomedilib/kcomedilib_main.c
+++ b/
comedi/kcomedilib/kcomedilib_main.c
@@
-950,6
+950,7
@@
int comedi_map(unsigned int minor, unsigned int subdev, void **ptr)
{
comedi_device *dev;
comedi_subdevice *s;
+ int ret;
if((ret=minor_to_dev(minor,&dev))<0)
return ret;
@@
-973,6
+974,7
@@
int comedi_unmap(unsigned int minor, unsigned int subdev)
{
comedi_device *dev;
comedi_subdevice *s;
+ int ret;
if((ret=minor_to_dev(minor,&dev))<0)
return ret;