aboutsummaryrefslogtreecommitdiff
path: root/common/dl.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/dl.h')
-rw-r--r--common/dl.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/common/dl.h b/common/dl.h
deleted file mode 100644
index 143b422..0000000
--- a/common/dl.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef _COMMON_DL_H_
-#define _COMMON_DL_H_
-
-#include <dlfcn.h>
-#include "err.h"
-
-inline static void check_dlerror()
-{
- char *err = dlerror();
- if (err)
- error("library error: %s\n", err);
-}
-
-#endif