From d2b7b9f78e913dfc415d6acf65e5b8fd8a04027b Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 20 Apr 2012 11:29:50 +0200 Subject: Samples: Remove unneeded inline in xusb.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | 2 +- libusb/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/xusb.c b/examples/xusb.c index fe2785f..07935d4 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -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; diff --git a/libusb/version.h b/libusb/version.h index 18aa054..3347697 100644 --- a/libusb/version.h +++ b/libusb/version.h @@ -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 -- cgit v1.2.1