diff --git a/src/sys/include/sys/device.h b/src/sys/include/sys/device.h index 43d2a18..b2b2bd6 100644 --- a/src/sys/include/sys/device.h +++ b/src/sys/include/sys/device.h @@ -57,11 +57,16 @@ int deviceAdd(int,char,struct deviceInterface *); struct deviceNode *deviceFind(int major,int minor); -int deviceRemove(struct deviceRemove *); +int deviceRemove(struct deviceNode *); #endif /*** $Log$ + Revision 1.10 2004/05/22 02:34:03 ionix + + + Added proto + Revision 1.9 2004/05/21 15:12:17 reddawg Cleaned up diff --git a/src/sys/sys/device.c b/src/sys/sys/device.c index ed65a36..b204237 100644 --- a/src/sys/sys/device.c +++ b/src/sys/sys/device.c @@ -87,6 +87,7 @@ { struct deviceNode *current, *previous; current = devices; +previous=NULL; while(current != NULL) { if(current==deviceToDelete) break; @@ -112,6 +113,11 @@ /*** $Log$ + Revision 1.8 2004/05/22 02:34:03 ionix + + + Added proto + Revision 1.7 2004/05/22 02:28:34 ionix Added deviceRemove