util: remove 'unused_fn' macro which itself isn't used

This commit is contained in:
Bert Belder 2018-05-17 00:41:02 -07:00
parent 0a817e84ec
commit 2e882a5dfe
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461

View File

@ -20,12 +20,6 @@ typedef intptr_t ssize_t;
#define unused_var(v) ((void) (v))
#if defined(__clang__) || defined(__GNUC__)
#define unused_fn __attribute__((__unused__))
#else
#define unused_fn /* nothing */
#endif
/* Polyfill `inline` for older versions of msvc (up to Visual Studio 2013) */
#if defined(_MSC_VER) && _MSC_VER < 1900
#define inline __inline