]> git.cworth.org Git - apitrace/commitdiff
dispatch: Silence warning about unused function.
authorJosé Fonseca <jfonseca@vmware.com>
Sat, 25 May 2013 09:34:03 +0000 (10:34 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 25 May 2013 09:34:03 +0000 (10:34 +0100)
dispatch/dlopen.hpp

index cb59a444029b931b07273529f3dcbc24255b0ea2..c1a71ba8b7fd03463dd7e68855117e72c965854b 100644 (file)
@@ -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;