]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - src/ldpreload.h
Prevent inlining for more functions.
[coloredstderr/coloredstderr.git] / src / ldpreload.h
index 6ef291185981a44c90a484df71efe635460e7b03..57f923b22e5dab013401a7e9f2ea1477daa85236 100644 (file)
 #include <dlfcn.h>
 #include <errno.h>
 
+static void *dlsym_function(char const *name)
+#ifdef HAVE___ATTRIBUTE__
+                                              __attribute__((noinline))
+#endif
+;
+
 /* Load the function name using dlsym() and return it. Terminate program on
  * failure. Split in function and macro to reduce code inserted into the
  * function using the macro. */