]> git.lizzy.rs Git - uwu-lang.git/blobdiff - common/dl.h
Use uwu-common as submodule
[uwu-lang.git] / common / dl.h
diff --git a/common/dl.h b/common/dl.h
deleted file mode 100644 (file)
index 143b422..0000000
+++ /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