avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] avrdude-5.11 patching


From: Joerg Wunsch
Subject: Re: [avr-chat] avrdude-5.11 patching
Date: Tue, 7 Jan 2014 10:47:08 +0100 (MET)

Mohsin Hashmi <address@hidden> 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. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]