changeset 1227:7a081f2998d0

Don't shadow system calls.
author William Pitcock <nenolod@atheme-project.org>
date Mon, 09 Jul 2007 08:09:21 -0500
parents f15ae221c54c
children 01efa0e5b554
files src/ladspa/ladspa.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ladspa/ladspa.c	Mon Jul 09 05:30:14 2007 -0500
+++ b/src/ladspa/ladspa.c	Mon Jul 09 08:09:21 2007 -0500
@@ -79,7 +79,7 @@
 static void reboot_plugins (void);
 static void boot_plugin (plugin_instance *instance);
 static void port_assign(plugin_instance *instance);
-static void shutdown (plugin_instance *instance);
+static void ladspa_shutdown (plugin_instance *instance);
 static void unload (plugin_instance *instance);
 
 static GtkWidget * make_plugin_clist(void);
@@ -245,7 +245,7 @@
     gtk_timeout_remove(instance->timeout);
   }
 
-  shutdown(instance);
+  ladspa_shutdown(instance);
 
   if (instance->library) {
     dlclose(instance->library);
@@ -283,7 +283,7 @@
     }
     bmp_cfg_db_set_int(db, section, "ports", ports);
     g_free(section);
-    shutdown (instance);
+    ladspa_shutdown (instance);
   }
   G_UNLOCK (running_plugins);
 
@@ -291,7 +291,7 @@
   bmp_cfg_db_close(db);
 }
 
-static void shutdown (plugin_instance *instance)
+static void ladspa_shutdown (plugin_instance *instance)
 {
   const LADSPA_Descriptor * descriptor= instance->descriptor;
 
@@ -315,7 +315,7 @@
 {
   const LADSPA_Descriptor * descriptor = instance->descriptor;
 
-  shutdown(instance);
+  ladspa_shutdown(instance);
   instance->handle = descriptor->instantiate(descriptor, state.srate);
   if (state.nch > 1 && !instance->stereo) {
     /* Create an additional instance */