Mohsin Hashmi <[email protected]> wrote:

> usbasp.c:345:12: error: conflicting types for 'usbOpenDevice'
>  static int usbOpenDevice(usb_dev_handle **device, int vendor,
>             ^
> usbasp.c:133:12: note: previous declaration of 'usbOpenDevice' was here
>  static int usbOpenDevice(usb_dev_handle **device, int vendor, char 
> *vendorName, int product, char *productName);
>             ^

The strange thing: I cannot see a conflict there.  What is
following on line 346 in your file?  It's supposed to be

                         char *vendorName, int product, char *productName)

which exactly matches the prototype in line 133.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to