$OpenBSD: patch-src_plugins_filter_c,v 1.1 2006/08/04 23:34:39 espie Exp $
--- src/plugins/filter.c.orig	Sat Aug  5 01:15:43 2006
+++ src/plugins/filter.c	Sat Aug  5 01:16:38 2006
@@ -250,10 +250,13 @@ LADSPA_Descriptor * g_psHPFDescriptor = 
 
 /*****************************************************************************/
 
+void init() __attribute__((constructor));
+void fini() __attribute__((destructor));
+
 /* _init() is called automatically when the plugin library is first
    loaded. */
 void 
-_init() {
+init() {
 
   char ** pcPortNames;
   LADSPA_PortDescriptor * piPortDescriptors;
@@ -432,7 +435,7 @@ deleteDescriptor(LADSPA_Descriptor * psD
 
 /* _fini() is called automatically when the library is unloaded. */
 void
-_fini() {
+fini() {
   deleteDescriptor(g_psLPFDescriptor);
   deleteDescriptor(g_psHPFDescriptor);
 }
