$OpenBSD: patch-src_jslock_c,v 1.2 2009/05/05 21:01:55 martynas Exp $
--- src/jslock.c.orig	Fri Mar 30 00:55:35 2007
+++ src/jslock.c	Sun May  3 23:07:02 2009
@@ -224,7 +224,9 @@ js_FinishLock(JSThinLock *tl)
 #endif
 }
 
+#ifndef NSPR_LOCK
 static void js_Dequeue(JSThinLock *);
+#endif
 
 #ifdef DEBUG_SCOPE_COUNT
 
