File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
System/Posix/DynamicLinker Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,15 @@ data RTLDFlags
86
86
deriving (Show , Read )
87
87
88
88
#if defined(HAVE_DLFCN_H)
89
- foreign import capi unsafe " dlfcn.h dlopen" c_dlopen :: CString -> CInt -> IO (Ptr () )
89
+ foreign import capi safe " dlfcn.h dlopen" c_dlopen :: CString -> CInt -> IO (Ptr () )
90
90
foreign import capi unsafe " dlfcn.h dlsym" c_dlsym :: Ptr () -> CString -> IO (FunPtr a )
91
91
foreign import capi unsafe " dlfcn.h dlerror" c_dlerror :: IO CString
92
- foreign import capi unsafe " dlfcn.h dlclose" c_dlclose :: (Ptr () ) -> IO CInt
92
+ foreign import capi safe " dlfcn.h dlclose" c_dlclose :: (Ptr () ) -> IO CInt
93
93
#else
94
- foreign import ccall unsafe " dlopen" c_dlopen :: CString -> CInt -> IO (Ptr () )
94
+ foreign import ccall safe " dlopen" c_dlopen :: CString -> CInt -> IO (Ptr () )
95
95
foreign import ccall unsafe " dlsym" c_dlsym :: Ptr () -> CString -> IO (FunPtr a )
96
96
foreign import ccall unsafe " dlerror" c_dlerror :: IO CString
97
- foreign import ccall unsafe " dlclose" c_dlclose :: (Ptr () ) -> IO CInt
97
+ foreign import ccall safe " dlclose" c_dlclose :: (Ptr () ) -> IO CInt
98
98
#endif // HAVE_DLFCN_H
99
99
100
100
packRTLDFlags :: [RTLDFlags ] -> CInt
You can’t perform that action at this time.
0 commit comments