Samples: Remove unneeded inline in xusb.c
authorLudovic Rousseau <ludovic.rousseau+github@gmail.com>
Fri, 20 Apr 2012 09:29:50 +0000 (11:29 +0200)
committerPete Batard <pete@akeo.ie>
Fri, 20 Apr 2012 21:33:24 +0000 (22:33 +0100)
Fixes:
warning: function ‘perr’ can never be inlined because it uses variable argument lists [-Winline]
warning: inlining failed in call to ‘perr’: function not inlinable [-Winline]

examples/xusb.c
libusb/version.h

index fe2785f..07935d4 100644 (file)
@@ -56,7 +56,7 @@
 bool binary_dump = false;
 char binary_name[64];
 
-inline static int perr(char const *format, ...)
+static int perr(char const *format, ...)
 {
        va_list args;
        int r;
index 18aa054..3347697 100644 (file)
@@ -9,7 +9,7 @@
 #define LIBUSB_MICRO 10
 #endif
 #ifndef LIBUSB_NANO
-#define LIBUSB_NANO 10480
+#define LIBUSB_NANO 10481
 #endif
 /* LIBUSB_RC is the release candidate suffix. Should normally be empty. */
 #ifndef LIBUSB_RC