]> git.eshelyaron.com Git - emacs.git/commitdiff
make dynlib_close active code
authorAndrea Corallo <akrl@sdf.org>
Fri, 20 Dec 2019 04:23:02 +0000 (05:23 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:14 +0000 (11:38 +0100)
src/dynlib.c

index 4919d5cc7262a776a29f2bc319629c95588936d3..b3fd815e68c95e9146c0d64362c1e8c712118d8c 100644 (file)
@@ -301,15 +301,11 @@ dynlib_error (void)
   return dlerror ();
 }
 
-/* FIXME: Currently there is no way to unload a module, so this
-   function is never used.  */
-#if false
 int
 dynlib_close (dynlib_handle_ptr h)
 {
   return dlclose (h) == 0;
 }
-#endif
 
 #else