--- virtual.c.orig	Thu Jan 13 16:36:22 1994
+++ virtual.c	Tue Sep 29 22:08:33 1998
@@ -48,6 +48,9 @@
 #ident "@(#)virtual.c	1.6 olvwm version 07 Jan 1994"
 #endif
 
+static rexMatch();
+static rexInit();
+
 /* Class Function Vector; a virtual pane is the VDM window in which all
  * the little virtual windows appear (and to which said windows are
  * parented)
@@ -2108,7 +2111,9 @@
     }
 }
 
+#ifndef __OpenBSD__
 static char expbuf[256];
+#endif
 
 static
 rexMatch(string)
