ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/libltdl/lt_dlloader.c
(Generate patch)

Comparing:
ircd-hybrid-7.2/libltdl/lt_dlloader.c (file contents), Revision 945 by michael, Mon Jul 20 15:48:27 2009 UTC vs.
ircd-hybrid/libltdl/lt_dlloader.c (file contents), Revision 1155 by michael, Tue Aug 9 20:27:45 2011 UTC

# Line 150 | Line 150 | lt_dlloader_get        (lt_dlloader loader)
150     modules need this loader; in either case, the loader list is not
151     changed if NULL is returned.  */
152   lt_dlvtable *
153 < lt_dlloader_remove (char *name)
153 > lt_dlloader_remove (const char *name)
154   {
155    const lt_dlvtable *   vtable  = lt_dlloader_find (name);
156    static const char     id_string[] = "lt_dlloader_remove";
# Line 199 | Line 199 | lt_dlloader_remove (char *name)
199  
200    /* If we got this far, remove the loader from our global list.  */
201    return (lt_dlvtable *)
202 <      slist_unbox ((SList *) slist_remove (&loaders, loader_callback, name));
202 >      slist_unbox ((SList *) slist_remove (&loaders, loader_callback, (void *) name));
203   }
204  
205  
206   const lt_dlvtable *
207 < lt_dlloader_find (char *name)
207 > lt_dlloader_find (const char *name)
208   {
209 <  return lt_dlloader_get (slist_find (loaders, loader_callback, name));
209 >  return lt_dlloader_get (slist_find (loaders, loader_callback, (void *) name));
210   }

Diff Legend

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