libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

loadlibrary: minor cleanup


From: Ralf Wildenhues
Subject: loadlibrary: minor cleanup
Date: Sat, 27 Nov 2004 08:56:53 +0100
User-agent: Mutt/1.5.6+20040722i

OK to apply to HEAD and branch-2-0?
This is a leftover from one-source-file libltdl, the interesting
`handles' is now a file-static in ltdl.c and not used outside.

Regards,
Ralf

        * libltdl/loaders/loadlibrary.c: Remove unneeded
        file-static variable.

Index: libltdl/loaders/loadlibrary.c
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/loaders/loadlibrary.c,v
retrieving revision 1.5
diff -u -r1.5 loadlibrary.c
--- libltdl/loaders/loadlibrary.c       15 Sep 2004 18:24:00 -0000      1.5
+++ libltdl/loaders/loadlibrary.c       27 Nov 2004 07:59:17 -0000
@@ -85,10 +85,6 @@
 
 #include <windows.h>
 
-/* Forward declaration; required to implement handle search below. */
-static lt_dlhandle handles;
-
-
 /* A function called through the vtable to open a module with this
    loader.  Returns an opaque representation of the newly opened
    module for processing with this loader's other vtable functions.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]