libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.0-36-gbd6941f

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 23 Oct 2013 16:12:06 +0200 (CEST)
The branch, master has been updated
       via  bd6941fd0138d3fc7f7bfb545a843dde3dfb636a (commit)
      from  a7e053532fb66aabe0d232cb335be4746cc052b3 (commit)


- Log -----------------------------------------------------------------
commit bd6941fd0138d3fc7f7bfb545a843dde3dfb636a
Author: Paul Fertser <fercerpav@xxxxxxxxx>
Date:   Mon Oct 14 15:26:22 2013 +0400

    Fix ftdi_get_library_version function prototype
    
    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 <fercerpav@xxxxxxxxx>

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    2 +-
 src/ftdi.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 90dfae5..0f1a918 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -278,7 +278,7 @@ void ftdi_set_usbdev (struct ftdi_context *ftdi, 
libusb_device_handle *usb)
  *
  * @return ftdi_version_info Library version information
  **/
-struct ftdi_version_info ftdi_get_library_version()
+struct ftdi_version_info ftdi_get_library_version(void)
 {
     struct ftdi_version_info ver;
 
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);


hooks/post-receive
-- 
A library to talk to FTDI chips

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v1.0-36-gbd6941f, libftdi-git <=