From: José Fonseca Date: Sat, 25 May 2013 09:34:03 +0000 (+0100) Subject: dispatch: Silence warning about unused function. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=c00a3de80781334e160a3887d3aad22cea3a2029;p=apitrace dispatch: Silence warning about unused function. --- 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;