From c00a3de80781334e160a3887d3aad22cea3a2029 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 25 May 2013 10:34:03 +0100 Subject: [PATCH] dispatch: Silence warning about unused function. --- dispatch/dlopen.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dispatch/dlopen.hpp b/dispatch/dlopen.hpp index cb59a44..c1a71ba 100644 --- a/dispatch/dlopen.hpp +++ b/dispatch/dlopen.hpp @@ -38,7 +38,8 @@ /* * Invoke the true dlopen() function. */ -static void *_dlopen(const char *filename, int flag) +static inline void * +_dlopen(const char *filename, int flag) { typedef void * (*PFN_DLOPEN)(const char *, int); static PFN_DLOPEN dlopen_ptr = NULL; -- 2.43.0