diff options
author | Roy Marples <roy@marples.name> | 2007-10-08 11:11:21 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-08 11:11:21 +0000 |
commit | a89ceb7e2c994e2a3907d9c906d99021a6e15788 (patch) | |
tree | 5725e344e99804953472a29598eb8c3e04d95c7a /src/rc-plugin.c | |
parent | e7dab9bb91344476603cc01a9db95c891e01085d (diff) |
Punt rc_ from xstrdup, xalloc, xrealloc and exists as they're not in librc anymore
Diffstat (limited to 'src/rc-plugin.c')
-rw-r--r-- | src/rc-plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc-plugin.c b/src/rc-plugin.c index b367228f..b43d4990 100644 --- a/src/rc-plugin.c +++ b/src/rc-plugin.c @@ -85,13 +85,13 @@ void rc_plugin_load (void) dlclose (h); } else { if (plugin) { - plugin->next = rc_xmalloc (sizeof (plugin_t)); + plugin->next = xmalloc (sizeof (plugin_t)); plugin = plugin->next; } else - plugin = plugins = rc_xmalloc (sizeof (plugin_t)); + plugin = plugins = xmalloc (sizeof (plugin_t)); memset (plugin, 0, sizeof (plugin_t)); - plugin->name = rc_xstrdup (d->d_name); + plugin->name = strdup (d->d_name); plugin->handle = h; plugin->hook = fptr; } |