~ubuntu-branches/ubuntu/utopic/esorex/utopic

« back to all changes in this revision

Viewing changes to libltdl/lt_dlloader.c

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2012-05-11 12:00:00 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120511120000-4uz6r3lrod1dkly5
Tags: 3.9.6-1
* New upstream version
* Add Multi-Arch default plugin directory
* Set DM-Upload-Allowed

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
   modules need this loader; in either case, the loader list is not
151
151
   changed if NULL is returned.  */
152
152
lt_dlvtable *
153
 
lt_dlloader_remove (char *name)
 
153
lt_dlloader_remove (const char *name)
154
154
{
155
155
  const lt_dlvtable *   vtable  = lt_dlloader_find (name);
156
156
  static const char     id_string[] = "lt_dlloader_remove";
199
199
 
200
200
  /* If we got this far, remove the loader from our global list.  */
201
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
203
}
204
204
 
205
205
 
206
206
const lt_dlvtable *
207
 
lt_dlloader_find (char *name)
 
207
lt_dlloader_find (const char *name)
208
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
210
}