On Monday, 14. October 2013 15:26:22 Paul Fertser wrote:
> This fixes /usr/include/libftdi1/ftdi.h:467:12: error: function
> declaration isn't a prototype [-Werror=strict-prototypes]
> 
> Reported-by: Drasko DRASKOVIC
> Signed-off-by: Paul Fertser <[email protected]>
> ---
>  src/ftdi.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/ftdi.h b/src/ftdi.h
> index a0ad8b4..3953039 100644
> --- a/src/ftdi.h
> +++ b/src/ftdi.h
> @@ -464,7 +464,7 @@ extern "C"
>      void ftdi_free(struct ftdi_context *ftdi);
>      void ftdi_set_usbdev (struct ftdi_context *ftdi, struct
> libusb_device_handle *usbdev);
> 
> -    struct ftdi_version_info ftdi_get_library_version();
> +    struct ftdi_version_info ftdi_get_library_version(void);
> 
>      int ftdi_usb_find_all(struct ftdi_context *ftdi, struct
> ftdi_device_list **devlist, int vendor, int product);

Applied, thanks.

I've added the same change to ftdi.c.

Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to