diff options
author | Ludovic Rousseau <ludovic.rousseau+github@gmail.com> | 2012-04-20 11:29:50 +0200 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2012-04-20 22:33:24 +0100 |
commit | d2b7b9f78e913dfc415d6acf65e5b8fd8a04027b (patch) | |
tree | 430e08ee43671ea027556a723ad71e7b7f5f5389 | |
parent | 36a7119bf296cecd4e910bef86908fd782224960 (diff) | |
download | libusb-d2b7b9f78e913dfc415d6acf65e5b8fd8a04027b.tar.gz |
Samples: Remove unneeded inline in xusb.c
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]
-rw-r--r-- | examples/xusb.c | 2 | ||||
-rw-r--r-- | 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 |