ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/libltdl/loaders/shl_load.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/libltdl/loaders/shl_load.c (file contents):
Revision 5393 by michael, Sat Nov 22 18:31:53 2014 UTC vs.
Revision 5394 by michael, Tue Jan 20 14:03:09 2015 UTC

# Line 1 | Line 1
1   /* loader-shl_load.c --  dynamic linking with shl_load (HP-UX)
2  
3 <   Copyright (C) 1998-2000, 2004, 2006-2008, 2011-2014 Free Software
3 >   Copyright (C) 1998-2000, 2004, 2006-2008, 2011-2015 Free Software
4     Foundation, Inc.
5     Written by Thomas Tanner, 1998
6  
# Line 138 | Line 138 | get_vtable (lt_user_data loader_data)
138   /* A function called through the vtable when this loader is no
139     longer needed by the application.  */
140   static int
141 < vl_exit (lt_user_data LT__UNUSED loader_data)
141 > vl_exit (lt_user_data loader_data LT__UNUSED)
142   {
143    vtable = NULL;
144    return 0;
# Line 148 | Line 148 | vl_exit (lt_user_data LT__UNUSED loader_
148     loader.  Returns an opaque representation of the newly opened
149     module for processing with this loader's other vtable functions.  */
150   static lt_module
151 < vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
152 <         lt_dladvise LT__UNUSED advise)
151 > vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
152 >         lt_dladvise advise LT__UNUSED)
153   {
154    static shl_t self = (shl_t) 0;
155    lt_module module = shl_load (filename, LT_BIND_FLAGS, 0L);
# Line 184 | Line 184 | vm_open (lt_user_data LT__UNUSED loader_
184   /* A function called through the vtable when a particular module
185     should be unloaded.  */
186   static int
187 < vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
187 > vm_close (lt_user_data loader_data LT__UNUSED, lt_module module)
188   {
189    int errors = 0;
190  
# Line 201 | Line 201 | vm_close (lt_user_data LT__UNUSED loader
201   /* A function called through the vtable to get the address of
202     a symbol loaded from a particular module.  */
203   static void *
204 < vm_sym (lt_user_data LT__UNUSED loader_data, lt_module module, const char *name)
204 > vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name)
205   {
206    void *address = 0;
207  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)