[Libphidget-cvs-commits] CVS: libphidget/src/libphidget phidget.c,1.8,1.9
Status: Alpha
Brought to you by:
jstrohm
From: Jack S. <js...@us...> - 2002-09-16 18:22:21
|
Update of /cvsroot/libphidget/libphidget/src/libphidget In directory usw-pr-cvs1:/tmp/cvs-serv14333 Modified Files: phidget.c Log Message: Woops, had C++ style variable declartions in C code. Index: phidget.c =================================================================== RCS file: /cvsroot/libphidget/libphidget/src/libphidget/phidget.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** phidget.c 16 Sep 2002 06:40:57 -0000 1.8 --- phidget.c 16 Sep 2002 18:22:18 -0000 1.9 *************** *** 345,348 **** --- 345,349 ---- { int i = 0, j = 0, ret=0; + struct usb_dev_handle *handle; unsigned char buffer[128] = { 0 }; unsigned char serial[256] = { 0 }; *************** *** 350,354 **** DBG("_getSerial"); ! struct usb_dev_handle *handle= usb_open(device); if (handle==NULL) --- 351,355 ---- DBG("_getSerial"); ! handle= usb_open(device); if (handle==NULL) |